Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed phpdoc @param alignment

  • Loading branch information...
commit eb82542e8ec9506096caf7c528564c740a214f56 1 parent 0b58a40
Fabien Potencier fabpot authored
6 ContainerAwareEventDispatcher.php
@@ -54,10 +54,10 @@ public function __construct(ContainerInterface $container)
54 54 /**
55 55 * Adds a service as event listener
56 56 *
57   - * @param string $eventName Event for which the listener is added
58   - * @param array $callback The service ID of the listener service & the method
  57 + * @param string $eventName Event for which the listener is added
  58 + * @param array $callback The service ID of the listener service & the method
59 59 * name that has to be called
60   - * @param integer $priority The higher this value, the earlier an event listener
  60 + * @param integer $priority The higher this value, the earlier an event listener
61 61 * will be triggered in the chain.
62 62 * Defaults to 0.
63 63 */
4 EventDispatcher.php
@@ -155,8 +155,8 @@ public function removeSubscriber(EventSubscriberInterface $subscriber)
155 155 * for each listener.
156 156 *
157 157 * @param array[callback] $listeners The event listeners.
158   - * @param string $eventName The name of the event to dispatch.
159   - * @param Event $event The event object to pass to the event handlers/listeners.
  158 + * @param string $eventName The name of the event to dispatch.
  159 + * @param Event $event The event object to pass to the event handlers/listeners.
160 160 */
161 161 protected function doDispatch($listeners, $eventName, Event $event)
162 162 {
2  EventDispatcherInterface.php
@@ -28,7 +28,7 @@
28 28 * @param string $eventName The name of the event to dispatch. The name of
29 29 * the event is the name of the method that is
30 30 * invoked on listeners.
31   - * @param Event $event The event to pass to the event handlers/listeners.
  31 + * @param Event $event The event to pass to the event handlers/listeners.
32 32 * If not supplied, an empty Event instance is created.
33 33 *
34 34 * @return Event
4 GenericEvent.php
@@ -37,8 +37,8 @@ class GenericEvent extends Event implements \ArrayAccess
37 37 /**
38 38 * Encapsulate an event with $subject, $args, and $data.
39 39 *
40   - * @param mixed $subject The subject of the event, usually an object.
41   - * @param array $arguments Arguments to store in the event.
  40 + * @param mixed $subject The subject of the event, usually an object.
  41 + * @param array $arguments Arguments to store in the event.
42 42 */
43 43 public function __construct($subject = null, array $arguments = array())
44 44 {

0 comments on commit eb82542

Please sign in to comment.
Something went wrong with that request. Please try again.