Fix code style
This commit is contained in:
1 parent
740fcfb8c1
commit
b968513cb9
171 files changed
+517
-792
No files matched your search
@@ -4,8 +4,6 @@ namespace Box\Spout\Reader\Common\Creator;
|
||||
|
||||
/**
|
||||
* Interface EntityFactoryInterface
|
||||
*
|
||||
* @package Box\Spout\Reader\Common\Creator
|
||||
*/
|
||||
interface EntityFactoryInterface
|
||||
{
|
||||
|
||||
@@ -5,8 +5,6 @@ namespace Box\Spout\Reader\Common\Entity;
|
||||
/**
|
||||
* Class Options
|
||||
* Readers' options holder
|
||||
*
|
||||
* @package Box\Spout\Reader\Common\Entity
|
||||
*/
|
||||
abstract class Options
|
||||
{
|
||||
|
||||
@@ -5,8 +5,6 @@ namespace Box\Spout\Reader\Common;
|
||||
/**
|
||||
* Class ReaderOptions
|
||||
* Readers' common options
|
||||
*
|
||||
* @package Box\Spout\Reader\Common
|
||||
*/
|
||||
class ReaderOptions
|
||||
{
|
||||
@@ -33,6 +31,7 @@ class ReaderOptions
|
||||
public function setShouldFormatDates($shouldFormatDates)
|
||||
{
|
||||
$this->shouldFormatDates = $shouldFormatDates;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -53,6 +52,7 @@ class ReaderOptions
|
||||
public function setShouldPreserveEmptyRows($shouldPreserveEmptyRows)
|
||||
{
|
||||
$this->shouldPreserveEmptyRows = $shouldPreserveEmptyRows;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
@@ -7,8 +7,6 @@ use Box\Spout\Reader\Wrapper\XMLReader;
|
||||
/**
|
||||
* Class XMLProcessor
|
||||
* Helps process XML files
|
||||
*
|
||||
* @package Box\Spout\Reader\Common
|
||||
*/
|
||||
class XMLProcessor
|
||||
{
|
||||
@@ -24,14 +22,12 @@ class XMLProcessor
|
||||
const PROCESSING_CONTINUE = 1;
|
||||
const PROCESSING_STOP = 2;
|
||||
|
||||
|
||||
/** @var \Box\Spout\Reader\Wrapper\XMLReader The XMLReader object that will help read sheet's XML data */
|
||||
protected $xmlReader;
|
||||
|
||||
/** @var array Registered callbacks */
|
||||
private $callbacks = [];
|
||||
|
||||
|
||||
/**
|
||||
* @param \Box\Spout\Reader\Wrapper\XMLReader $xmlReader XMLReader object
|
||||
*/
|
||||
@@ -90,8 +86,8 @@ class XMLProcessor
|
||||
* Resumes the reading of the XML file where it was left off.
|
||||
* Stops whenever a callback indicates that reading should stop or at the end of the file.
|
||||
*
|
||||
* @return void
|
||||
* @throws \Box\Spout\Reader\Exception\XMLProcessingException
|
||||
* @return void
|
||||
*/
|
||||
public function readUntilStopped()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user