diff options
Diffstat (limited to 'lib/private/DB/Migrator.php')
-rw-r--r-- | lib/private/DB/Migrator.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/DB/Migrator.php b/lib/private/DB/Migrator.php index 603f9259d6e..a853ab1ea1b 100644 --- a/lib/private/DB/Migrator.php +++ b/lib/private/DB/Migrator.php @@ -39,7 +39,7 @@ use Doctrine\DBAL\Types\StringType; use Doctrine\DBAL\Types\Type; use OCP\IConfig; use OCP\Security\ISecureRandom; -use Symfony\Component\EventDispatcher\EventDispatcher; +use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\GenericEvent; class Migrator { @@ -53,7 +53,7 @@ class Migrator { /** @var IConfig */ protected $config; - /** @var EventDispatcher */ + /** @var EventDispatcherInterface */ private $dispatcher; /** @var bool */ @@ -63,12 +63,12 @@ class Migrator { * @param \Doctrine\DBAL\Connection|Connection $connection * @param ISecureRandom $random * @param IConfig $config - * @param EventDispatcher $dispatcher + * @param EventDispatcherInterface $dispatcher */ public function __construct(\Doctrine\DBAL\Connection $connection, ISecureRandom $random, IConfig $config, - EventDispatcher $dispatcher = null) { + EventDispatcherInterface $dispatcher = null) { $this->connection = $connection; $this->random = $random; $this->config = $config; |