Skip to content

Commit

Permalink
Fix docblock for SharedEventManager
Browse files Browse the repository at this point in the history
  • Loading branch information
bakura10 committed Nov 1, 2013
1 parent b9c394c commit 1505f54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library/Zend/EventManager/SharedEventManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function attach($id, $event, callable $callback, $priority = 1)
*
* @param SharedListenerAggregateInterface $aggregate
* @param int $priority If provided, a suggested priority for the aggregate to use
* @return mixed return value of {@link ListenerAggregateInterface::attachShared()}
* @return mixed return value of {@link SharedListenerAggregateInterface::attachShared()}
*/
public function attachAggregate(SharedListenerAggregateInterface $aggregate, $priority = 1)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ interface SharedListenerAggregateInterface
* implementation will pass this to the aggregate.
*
* @param SharedEventManagerInterface $events
* @return void
* @return mixed
*/
public function attachShared(SharedEventManagerInterface $events);

/**
* Detach all previously attached listeners
*
* @param SharedEventManagerInterface $events
* @return void
* @return bool Returns true if event and listener found, and unsubscribed; returns false if either event or listener not found
*/
public function detachShared(SharedEventManagerInterface $events);
}

0 comments on commit 1505f54

Please sign in to comment.