Skip to content

Commit 36a4069

Browse files
Docblock fixes
1 parent 87ddfe5 commit 36a4069

3 files changed

+7
-7
lines changed

ContainerAwareEventDispatcher.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ public function __construct(ContainerInterface $container)
5656
*
5757
* @param string $eventName Event for which the listener is added
5858
* @param array $callback The service ID of the listener service & the method
59-
* name that has to be called
60-
* @param int $priority The higher this value, the earlier an event listener
61-
* will be triggered in the chain.
62-
* Defaults to 0.
59+
* name that has to be called
60+
* @param int $priority The higher this value, the earlier an event listener
61+
* will be triggered in the chain.
62+
* Defaults to 0.
6363
*
6464
* @throws \InvalidArgumentException
6565
*/

Event.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class Event
4848
* Returns whether further event listeners should be triggered.
4949
*
5050
* @see Event::stopPropagation
51-
* @return bool Whether propagation was already stopped for this event.
51+
* @return bool Whether propagation was already stopped for this event.
5252
*
5353
* @api
5454
*/

EventDispatcherInterface.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ interface EventDispatcherInterface
2828
* @param string $eventName The name of the event to dispatch. The name of
2929
* the event is the name of the method that is
3030
* 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.
3232
* If not supplied, an empty Event instance is created.
3333
*
3434
* @return Event
@@ -90,7 +90,7 @@ public function getListeners($eventName = null);
9090
*
9191
* @param string $eventName The name of the event
9292
*
93-
* @return bool true if the specified event has any listeners, false otherwise
93+
* @return bool true if the specified event has any listeners, false otherwise
9494
*/
9595
public function hasListeners($eventName = null);
9696
}

0 commit comments

Comments
 (0)