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 7
7
use Psr \EventDispatcher \EventDispatcherInterface ;
8
8
use Psr \EventDispatcher \ListenerProviderInterface ;
9
9
use Psr \EventDispatcher \StoppableEventInterface ;
10
- use React \EventLoop \Loop ;
11
10
use React \EventLoop \LoopInterface ;
12
11
13
- class AsyncEventDispatcher implements EventDispatcherInterface
12
+ final class AsyncEventDispatcher implements EventDispatcherInterface
14
13
{
15
14
private ListenerProviderInterface $ listenerProvider ;
16
15
private LoopInterface $ loop ;
Original file line number Diff line number Diff line change 5
5
namespace Antidot \Event \Container ;
6
6
7
7
use Antidot \Event \AsyncEventDispatcher ;
8
- use Antidot \Event \EventDispatcher ;
9
- use Antidot \Event \ListenerProvider ;
10
8
use Psr \Container \ContainerInterface ;
11
9
use Psr \EventDispatcher \EventDispatcherInterface ;
12
10
use Psr \EventDispatcher \ListenerProviderInterface ;
13
11
use React \EventLoop \Loop ;
14
- use RuntimeException ;
15
- use Throwable ;
16
12
17
- class AsyncEventDispatcherFactory
13
+ final class AsyncEventDispatcherFactory
18
14
{
19
15
public function __invoke (ContainerInterface $ container ): EventDispatcherInterface
20
16
{
Original file line number Diff line number Diff line change 10
10
use React \EventLoop \Loop ;
11
11
use StdClass ;
12
12
13
- class AsyncEventDispatcherTest extends TestCase
13
+ final class AsyncEventDispatcherTest extends TestCase
14
14
{
15
15
public function testItShouldDispatchEvents (): void
16
16
{
Original file line number Diff line number Diff line change 9
9
use PHPUnit \Framework \TestCase ;
10
10
use Psr \Container \ContainerInterface ;
11
11
12
- class ListenerProviderFactoryTest extends TestCase
12
+ final class ListenerProviderFactoryTest extends TestCase
13
13
{
14
14
public function testItShouldVConfigureListenerProviderFactory (): void
15
15
{
You can’t perform that action at this time.
0 commit comments