diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-05-28 19:46:36 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-06-25 10:02:27 +0200 |
commit | 3174012adf3fde4de74efa12cfa7e480b874b295 (patch) | |
tree | bc58b99dc45b5adcdeaf30269e9a6eab2c853773 /apps/dav/lib/HookManager.php | |
parent | 817bdc47c804ae8511ad3423eae216f6ccdee6c6 (diff) | |
download | nextcloud-server-3174012adf3fde4de74efa12cfa7e480b874b295.tar.gz nextcloud-server-3174012adf3fde4de74efa12cfa7e480b874b295.zip |
Add event dispatcher to OCP
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav/lib/HookManager.php')
-rw-r--r-- | apps/dav/lib/HookManager.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/lib/HookManager.php b/apps/dav/lib/HookManager.php index 27b6525be47..272c4cd1ad3 100644 --- a/apps/dav/lib/HookManager.php +++ b/apps/dav/lib/HookManager.php @@ -32,7 +32,7 @@ use OCA\DAV\CardDAV\SyncService; use OCP\IUser; use OCP\IUserManager; use OCP\Util; -use Symfony\Component\EventDispatcher\EventDispatcher; +use Symfony\Component\EventDispatcher\EventDispatcherInterface; class HookManager { @@ -57,14 +57,14 @@ class HookManager { /** @var array */ private $addressBooksToDelete = []; - /** @var EventDispatcher */ + /** @var EventDispatcherInterface */ private $eventDispatcher; public function __construct(IUserManager $userManager, SyncService $syncService, CalDavBackend $calDav, CardDavBackend $cardDav, - EventDispatcher $eventDispatcher) { + EventDispatcherInterface $eventDispatcher) { $this->userManager = $userManager; $this->syncService = $syncService; $this->calDav = $calDav; |