[EventDispatcher] Remove unneded count()
This commit is contained in:
parent
6008489153
commit
9a1915f88b
@ -80,7 +80,7 @@ class EventDispatcher implements EventDispatcherInterface
|
||||
*/
|
||||
public function hasListeners($eventName = null)
|
||||
{
|
||||
return (bool) count($this->getListeners($eventName));
|
||||
return (bool) $this->getListeners($eventName);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user