File tree Expand file tree Collapse file tree 4 files changed +4
-9
lines changed Expand file tree Collapse file tree 4 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 77use Psr \EventDispatcher \EventDispatcherInterface ;
88use Psr \EventDispatcher \ListenerProviderInterface ;
99use Psr \EventDispatcher \StoppableEventInterface ;
10- use React \EventLoop \Loop ;
1110use React \EventLoop \LoopInterface ;
1211
13- class AsyncEventDispatcher implements EventDispatcherInterface
12+ final class AsyncEventDispatcher implements EventDispatcherInterface
1413{
1514 private ListenerProviderInterface $ listenerProvider ;
1615 private LoopInterface $ loop ;
Original file line number Diff line number Diff line change 55namespace Antidot \Event \Container ;
66
77use Antidot \Event \AsyncEventDispatcher ;
8- use Antidot \Event \EventDispatcher ;
9- use Antidot \Event \ListenerProvider ;
108use Psr \Container \ContainerInterface ;
119use Psr \EventDispatcher \EventDispatcherInterface ;
1210use Psr \EventDispatcher \ListenerProviderInterface ;
1311use React \EventLoop \Loop ;
14- use RuntimeException ;
15- use Throwable ;
1612
17- class AsyncEventDispatcherFactory
13+ final class AsyncEventDispatcherFactory
1814{
1915 public function __invoke (ContainerInterface $ container ): EventDispatcherInterface
2016 {
Original file line number Diff line number Diff line change 1010use React \EventLoop \Loop ;
1111use StdClass ;
1212
13- class AsyncEventDispatcherTest extends TestCase
13+ final class AsyncEventDispatcherTest extends TestCase
1414{
1515 public function testItShouldDispatchEvents (): void
1616 {
Original file line number Diff line number Diff line change 99use PHPUnit \Framework \TestCase ;
1010use Psr \Container \ContainerInterface ;
1111
12- class ListenerProviderFactoryTest extends TestCase
12+ final class ListenerProviderFactoryTest extends TestCase
1313{
1414 public function testItShouldVConfigureListenerProviderFactory (): void
1515 {
You can’t perform that action at this time.
0 commit comments