Skip to content

Commit ce18abf

Browse files
authored
fix: change for event dispatcher interface to keep logic from MySQLReplicationFactory (#69)
1 parent 8700673 commit ce18abf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MySQLReplication/Event/Event.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
use MySQLReplication\Socket\SocketException;
2121
use Psr\SimpleCache\CacheInterface;
2222
use Psr\SimpleCache\InvalidArgumentException;
23-
use Symfony\Component\EventDispatcher\EventDispatcher;
23+
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
2424

2525
class Event
2626
{
@@ -35,7 +35,7 @@ class Event
3535
public function __construct(
3636
BinLogSocketConnect $binLogSocketConnect,
3737
RowEventFactory $rowEventFactory,
38-
EventDispatcher $eventDispatcher,
38+
EventDispatcherInterface $eventDispatcher,
3939
CacheInterface $cache
4040
) {
4141
$this->binLogSocketConnect = $binLogSocketConnect;

0 commit comments

Comments
 (0)