Permalink
Browse files

fixed phpdoc @param alignment

  • Loading branch information...
1 parent 0b58a40 commit eb82542e8ec9506096caf7c528564c740a214f56 @fabpot fabpot committed May 15, 2012
Showing with 8 additions and 8 deletions.
  1. +3 −3 ContainerAwareEventDispatcher.php
  2. +2 −2 EventDispatcher.php
  3. +1 −1 EventDispatcherInterface.php
  4. +2 −2 GenericEvent.php
View
6 ContainerAwareEventDispatcher.php
@@ -54,10 +54,10 @@ public function __construct(ContainerInterface $container)
/**
* Adds a service as event listener
*
- * @param string $eventName Event for which the listener is added
- * @param array $callback The service ID of the listener service & the method
+ * @param string $eventName Event for which the listener is added
+ * @param array $callback The service ID of the listener service & the method
* name that has to be called
- * @param integer $priority The higher this value, the earlier an event listener
+ * @param integer $priority The higher this value, the earlier an event listener
* will be triggered in the chain.
* Defaults to 0.
*/
View
4 EventDispatcher.php
@@ -155,8 +155,8 @@ public function removeSubscriber(EventSubscriberInterface $subscriber)
* for each listener.
*
* @param array[callback] $listeners The event listeners.
- * @param string $eventName The name of the event to dispatch.
- * @param Event $event The event object to pass to the event handlers/listeners.
+ * @param string $eventName The name of the event to dispatch.
+ * @param Event $event The event object to pass to the event handlers/listeners.
*/
protected function doDispatch($listeners, $eventName, Event $event)
{
View
2 EventDispatcherInterface.php
@@ -28,7 +28,7 @@
* @param string $eventName The name of the event to dispatch. The name of
* the event is the name of the method that is
* invoked on listeners.
- * @param Event $event The event to pass to the event handlers/listeners.
+ * @param Event $event The event to pass to the event handlers/listeners.
* If not supplied, an empty Event instance is created.
*
* @return Event
View
4 GenericEvent.php
@@ -37,8 +37,8 @@ class GenericEvent extends Event implements \ArrayAccess
/**
* Encapsulate an event with $subject, $args, and $data.
*
- * @param mixed $subject The subject of the event, usually an object.
- * @param array $arguments Arguments to store in the event.
+ * @param mixed $subject The subject of the event, usually an object.
+ * @param array $arguments Arguments to store in the event.
*/
public function __construct($subject = null, array $arguments = array())
{

0 comments on commit eb82542

Please sign in to comment.