Skip to content

Commit

Permalink
[zend-paginator] fixed phpdoc typo (#86)
Browse files Browse the repository at this point in the history
`$this->_createPages($scrollingStyle);` returns a `stdClass` so `getPages` can never return a array as documented
  • Loading branch information
staabm authored Mar 23, 2021
1 parent c959345 commit 82e23ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/zend-paginator/library/Zend/Paginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class Zend_Paginator implements Countable, IteratorAggregate
/**
* Pages
*
* @var array
* @var stdClass
*/
protected $_pages = null;

Expand Down Expand Up @@ -854,7 +854,7 @@ public function setPageRange($pageRange)
* Returns the page collection.
*
* @param string $scrollingStyle Scrolling style
* @return array
* @return stdClass
*/
public function getPages($scrollingStyle = null)
{
Expand Down

0 comments on commit 82e23ed

Please sign in to comment.