Commit 4e7502c7 authored by Christophe Coevoet's avatar Christophe Coevoet

Added a missing use statement

parent 2a9e9943
...@@ -24,6 +24,7 @@ use Doctrine\DBAL\Connection, ...@@ -24,6 +24,7 @@ use Doctrine\DBAL\Connection,
Doctrine\DBAL\Driver, Doctrine\DBAL\Driver,
Doctrine\DBAL\Configuration, Doctrine\DBAL\Configuration,
Doctrine\Common\EventManager, Doctrine\Common\EventManager,
Doctrine\DBAL\Event\ConnectionEventArgs,
Doctrine\DBAL\Events; Doctrine\DBAL\Events;
/** /**
...@@ -161,7 +162,7 @@ class MasterSlaveConnection extends Connection ...@@ -161,7 +162,7 @@ class MasterSlaveConnection extends Connection
} }
if ($this->_eventManager->hasListeners(Events::postConnect)) { if ($this->_eventManager->hasListeners(Events::postConnect)) {
$eventArgs = new Event\ConnectionEventArgs($this); $eventArgs = new ConnectionEventArgs($this);
$this->_eventManager->dispatchEvent(Events::postConnect, $eventArgs); $this->_eventManager->dispatchEvent(Events::postConnect, $eventArgs);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment