minor #12080 [EventDispatcher] fix doc bloc on EventDispatcherInterface (nicolas-grekas)
This PR was merged into the 2.3 branch.
Discussion
----------
[EventDispatcher] fix doc bloc on EventDispatcherInterface
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
The doc block says that an array of event names is accepted as input, but no implementation is compliant with that description.
Commits
-------
e3dacbd
[EventDispatcher] fix doc bloc on EventDispatcherInterface
This commit is contained in:
commit
e24a822c40
|
@ -64,8 +64,8 @@ interface EventDispatcherInterface
|
||||||
/**
|
/**
|
||||||
* Removes an event listener from the specified events.
|
* Removes an event listener from the specified events.
|
||||||
*
|
*
|
||||||
* @param string|array $eventName The event(s) to remove a listener from
|
* @param string $eventName The event to remove a listener from
|
||||||
* @param callable $listener The listener to remove
|
* @param callable $listener The listener to remove
|
||||||
*/
|
*/
|
||||||
public function removeListener($eventName, $listener);
|
public function removeListener($eventName, $listener);
|
||||||
|
|
||||||
|
|
Reference in New Issue