Skip to content

Commit

Permalink
Fixes various phpdoc and coding standards.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Hamon committed Jan 2, 2015
1 parent 559494e commit aabd73b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions ContainerAwareEventDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function removeListener($eventName, $listener)
}

/**
* @see EventDispatcherInterface::hasListeners
* @see EventDispatcherInterface::hasListeners()
*/
public function hasListeners($eventName = null)
{
Expand All @@ -119,7 +119,7 @@ public function hasListeners($eventName = null)
}

/**
* @see EventDispatcherInterface::getListeners
* @see EventDispatcherInterface::getListeners()
*/
public function getListeners($eventName = null)
{
Expand Down
2 changes: 1 addition & 1 deletion Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Event
/**
* Returns whether further event listeners should be triggered.
*
* @see Event::stopPropagation
* @see Event::stopPropagation()
*
* @return bool Whether propagation was already stopped for this event.
*
Expand Down
14 changes: 7 additions & 7 deletions EventDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class EventDispatcher implements EventDispatcherInterface
private $sorted = array();

/**
* @see EventDispatcherInterface::dispatch
* @see EventDispatcherInterface::dispatch()
*
* @api
*/
Expand All @@ -56,7 +56,7 @@ public function dispatch($eventName, Event $event = null)
}

/**
* @see EventDispatcherInterface::getListeners
* @see EventDispatcherInterface::getListeners()
*/
public function getListeners($eventName = null)
{
Expand All @@ -78,15 +78,15 @@ public function getListeners($eventName = null)
}

/**
* @see EventDispatcherInterface::hasListeners
* @see EventDispatcherInterface::hasListeners()
*/
public function hasListeners($eventName = null)
{
return (bool) count($this->getListeners($eventName));
}

/**
* @see EventDispatcherInterface::addListener
* @see EventDispatcherInterface::addListener()
*
* @api
*/
Expand All @@ -97,7 +97,7 @@ public function addListener($eventName, $listener, $priority = 0)
}

/**
* @see EventDispatcherInterface::removeListener
* @see EventDispatcherInterface::removeListener()
*/
public function removeListener($eventName, $listener)
{
Expand All @@ -113,7 +113,7 @@ public function removeListener($eventName, $listener)
}

/**
* @see EventDispatcherInterface::addSubscriber
* @see EventDispatcherInterface::addSubscriber()
*
* @api
*/
Expand All @@ -133,7 +133,7 @@ public function addSubscriber(EventSubscriberInterface $subscriber)
}

/**
* @see EventDispatcherInterface::removeSubscriber
* @see EventDispatcherInterface::removeSubscriber()
*/
public function removeSubscriber(EventSubscriberInterface $subscriber)
{
Expand Down

0 comments on commit aabd73b

Please sign in to comment.