Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db24362

Browse files
committed
minor #14304 [EventDispatcher] Added the sorted priority information on phpdoc of the getListeners method (dupuchba)
This PR was merged into the 2.3 branch. Discussion ---------- [EventDispatcher] Added the sorted priority information on phpdoc of the getListeners method | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | no | License | MIT Added the sorting by descending priority information on the `EventDisparcherInterface` Commits ------- c3eecb5 Add better phpdoc message for getListeners method of the EventDispatcher
2 parents a5298ab + c3eecb5 commit db24362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/EventDispatcher/EventDispatcherInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function removeListener($eventName, $listener);
7777
public function removeSubscriber(EventSubscriberInterface $subscriber);
7878

7979
/**
80-
* Gets the listeners of a specific event or all listeners.
80+
* Gets the listeners of a specific event or all listeners sorted by descending priority.
8181
*
8282
* @param string $eventName The name of the event
8383
*

0 commit comments

Comments
 (0)