This commit is contained in:
2022-06-23 00:00:48 +08:00
parent 3bb1398e31
commit 6bc22c92a5
-1
View File
@@ -36,7 +36,6 @@ class EventDispatch extends Component implements EventDispatcherInterface
*/
public function dispatch(object $event): object
{
/** @var \SplPriorityQueue $lists */
$lists = $this->eventProvider->getListenersForEvent($event);
if (!$lists->valid()) {
return $event;