Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #139 from box/fix_phpdoc
Browse files Browse the repository at this point in the history
Fix PHPDoc to work with Augmented Types
  • Loading branch information
adrilo committed Nov 5, 2015
2 parents f8aab6e + 8b666fc commit 582da84
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/Spout/Reader/CSV/Sheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
class Sheet implements SheetInterface
{
/** @var RowIterator To iterate over the CSV's rows */
/** @var \Box\Spout\Reader\CSV\RowIterator To iterate over the CSV's rows */
protected $rowIterator;

/**
Expand All @@ -28,7 +28,7 @@ public function __construct($filePointer, $fieldDelimiter, $fieldEnclosure, $enc

/**
* @api
* @return RowIterator
* @return \Box\Spout\Reader\CSV\RowIterator
*/
public function getRowIterator()
{
Expand Down
4 changes: 2 additions & 2 deletions src/Spout/Reader/CSV/SheetIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
class SheetIterator implements IteratorInterface
{
/** @var Sheet The CSV unique "sheet" */
/** @var \Box\Spout\Reader\CSV\Sheet The CSV unique "sheet" */
protected $sheet;

/** @var bool Whether the unique "sheet" has already been read */
Expand Down Expand Up @@ -67,7 +67,7 @@ public function next()
* Return the current element
* @link http://php.net/manual/en/iterator.current.php
*
* @return Sheet
* @return \Box\Spout\Reader\CSV\Sheet
*/
public function current()
{
Expand Down
4 changes: 2 additions & 2 deletions src/Spout/Reader/ODS/Sheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
class Sheet implements SheetInterface
{
/** @var RowIterator To iterate over sheet's rows */
/** @var \Box\Spout\Reader\ODS\RowIterator To iterate over sheet's rows */
protected $rowIterator;

/** @var int ID of the sheet */
Expand All @@ -39,7 +39,7 @@ public function __construct($xmlReader, $sheetIndex, $sheetName)

/**
* @api
* @return RowIterator
* @return \Box\Spout\Reader\ODS\RowIterator
*/
public function getRowIterator()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Spout/Reader/ODS/SheetIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function next()
* Return the current element
* @link http://php.net/manual/en/iterator.current.php
*
* @return Sheet
* @return \Box\Spout\Reader\ODS\Sheet
*/
public function current()
{
Expand Down
4 changes: 2 additions & 2 deletions src/Spout/Reader/XLSX/Sheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
class Sheet implements SheetInterface
{
/** @var RowIterator To iterate over sheet's rows */
/** @var \Box\Spout\Reader\XLSX\RowIterator To iterate over sheet's rows */
protected $rowIterator;

/** @var int Index of the sheet, based on order of creation (zero-based) */
Expand All @@ -37,7 +37,7 @@ public function __construct($filePath, $sheetDataXMLFilePath, $sharedStringsHelp

/**
* @api
* @return RowIterator
* @return \Box\Spout\Reader\XLSX\RowIterator
*/
public function getRowIterator()
{
Expand Down
4 changes: 2 additions & 2 deletions src/Spout/Reader/XLSX/SheetIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
class SheetIterator implements IteratorInterface
{
/** @var Sheet[] The list of sheet present in the file */
/** @var \Box\Spout\Reader\XLSX\Sheet[] The list of sheet present in the file */
protected $sheets;

/** @var int The index of the sheet being read (zero-based) */
Expand Down Expand Up @@ -79,7 +79,7 @@ public function next()
* Return the current element
* @link http://php.net/manual/en/iterator.current.php
*
* @return Sheet
* @return \Box\Spout\Reader\XLSX\Sheet
*/
public function current()
{
Expand Down

0 comments on commit 582da84

Please sign in to comment.