@@ -34,7 +34,7 @@ abstract class Zend_Navigation_Container implements RecursiveIterator, Countable
34
34
/**
35
35
* Contains sub pages
36
36
*
37
- * @var array
37
+ * @var Zend_Navigation_Page[]
38
38
*/
39
39
protected $ _pages = array ();
40
40
@@ -143,7 +143,7 @@ public function addPage($page)
143
143
/**
144
144
* Adds several pages at once
145
145
*
146
- * @param array |Zend_Config|Zend_Navigation_Container $pages pages to add
146
+ * @param Zend_Navigation_Page[] |Zend_Config|Zend_Navigation_Container $pages pages to add
147
147
* @return Zend_Navigation_Container fluent interface,
148
148
* returns self
149
149
* @throws Zend_Navigation_Exception if $pages is not
@@ -178,7 +178,7 @@ public function addPages($pages)
178
178
/**
179
179
* Sets pages this container should have, removing existing pages
180
180
*
181
- * @param array $pages pages to set
181
+ * @param Zend_Navigation_Page[] $pages pages to set
182
182
* @return Zend_Navigation_Container fluent interface, returns self
183
183
*/
184
184
public function setPages (array $ pages )
@@ -190,7 +190,7 @@ public function setPages(array $pages)
190
190
/**
191
191
* Returns pages in the container
192
192
*
193
- * @return array array of Zend_Navigation_Page instances
193
+ * @return Zend_Navigation_Page[] array of Zend_Navigation_Page instances
194
194
*/
195
195
public function getPages ()
196
196
{
@@ -359,7 +359,7 @@ public function findOneBy($property, $value, $useRegex = false)
359
359
* @param mixed $value value to match property against
360
360
* @param bool $useRegex [optional] if true PHP's preg_match is used.
361
361
* Default is false.
362
- * @return array array containing only Zend_Navigation_Page
362
+ * @return Zend_Navigation_Page[] array containing only Zend_Navigation_Page
363
363
* instances
364
364
*/
365
365
public function findAllBy ($ property , $ value , $ useRegex = false )
@@ -484,7 +484,7 @@ public function __call($method, $arguments)
484
484
/**
485
485
* Returns an array representation of all pages in container
486
486
*
487
- * @return array
487
+ * @return Zend_Navigation_Page[]
488
488
*/
489
489
public function toArray ()
490
490
{
0 commit comments