We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24bbba5 commit bd6d4f2Copy full SHA for bd6d4f2
src/Event/EventBusDispatcher.php
@@ -2,7 +2,6 @@
2
3
namespace Twc\BusBundle\Event;
4
5
-use Twc\BusBundle\Event\Interfaces\Event;
6
use Twc\BusBundle\Event\Interfaces\EventBus;
7
8
class EventBusDispatcher implements EventBus
@@ -16,7 +15,7 @@ public function __construct(iterable $handlers)
16
15
}
17
18
19
- public function dispatch(Event $event): void
+ public function dispatch($event): void
20
{
21
$eventClass = get_class($event);
22
@@ -29,7 +28,5 @@ public function dispatch(Event $event): void
29
28
$handler->handle($event);
30
31
32
-
33
34
35
-}
+}
0 commit comments