Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 90f4f15

Browse files
committed
Fixes DocBlocks in Zend_EventManager
1 parent 6e54182 commit 90f4f15

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

library/Zend/EventManager/EventManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ public function setEventClass($class)
9191
/**
9292
* Set static collections container
9393
*
94-
* @param Zend_EventManager_StaticEventCollection $collections
95-
* @return void
94+
* @param Zend_EventManager_SharedEventCollection $collections
95+
* @return $this
9696
*/
9797
public function setSharedCollections(Zend_EventManager_SharedEventCollection $collections)
9898
{

library/Zend/EventManager/Filter/FilterIterator.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ public function remove($datum)
9090
* Iterate the next filter in the chain
9191
*
9292
* Iterates and calls the next filter in the chain.
93-
*
94-
* @param mixed $context
95-
* @param array $params
96-
* @param Zend_EventManager_Filter_FilterIterator $chain
97-
* @return void
93+
*
94+
* @param mixed $context
95+
* @param array $params
96+
* @param Zend_EventManager_Filter_FilterIterator $chain
97+
* @return mixed
9898
*/
9999
public function next($context = null, array $params = array(), $chain = null)
100100
{

library/Zend/EventManager/FilterChain.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@ public function run($context, array $argv = array())
7676

7777
/**
7878
* Connect a filter to the chain
79-
*
79+
*
8080
* @param callback $callback PHP Callback
81-
* @param int $priority Priority in the queue at which to execute; defaults to 1 (higher numbers == higher priority)
81+
* @param int $priority Priority in the queue at which to execute; defaults to 1 (higher numbers == higher priority)
82+
* @throws Zend_Stdlib_Exception_InvalidCallbackException
8283
* @return Zend_Stdlib_CallbackHandler (to allow later unsubscribe)
8384
*/
8485
public function attach($callback, $priority = 1)

library/Zend/EventManager/GlobalEventManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ public static function setEventCollection(Zend_EventManager_EventCollection $eve
5252

5353
/**
5454
* Get event collection on which this operates
55-
*
56-
* @return void
55+
*
56+
* @return Zend_EventManager_EventCollection
5757
*/
5858
public static function getEventCollection()
5959
{

0 commit comments

Comments
 (0)