From 82e23ed750681386e8c58aa4603d5d1fdbf83ad3 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Tue, 23 Mar 2021 14:27:42 +0100 Subject: [PATCH] [zend-paginator] fixed phpdoc typo (#86) `$this->_createPages($scrollingStyle);` returns a `stdClass` so `getPages` can never return a array as documented --- packages/zend-paginator/library/Zend/Paginator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/zend-paginator/library/Zend/Paginator.php b/packages/zend-paginator/library/Zend/Paginator.php index 0347212f5..7d32c4ea5 100644 --- a/packages/zend-paginator/library/Zend/Paginator.php +++ b/packages/zend-paginator/library/Zend/Paginator.php @@ -168,7 +168,7 @@ class Zend_Paginator implements Countable, IteratorAggregate /** * Pages * - * @var array + * @var stdClass */ protected $_pages = null; @@ -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) {