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/files_trashbin/lib | |
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/files_trashbin/lib')
-rw-r--r-- | apps/files_trashbin/lib/Storage.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_trashbin/lib/Storage.php b/apps/files_trashbin/lib/Storage.php index 0db634eeb9e..04105dda6ce 100644 --- a/apps/files_trashbin/lib/Storage.php +++ b/apps/files_trashbin/lib/Storage.php @@ -38,7 +38,7 @@ use OCP\Files\Mount\IMountPoint; use OCP\Files\Node; use OCP\ILogger; use OCP\IUserManager; -use Symfony\Component\EventDispatcher\EventDispatcher; +use Symfony\Component\EventDispatcher\EventDispatcherInterface; class Storage extends Wrapper { /** @var IMountPoint */ @@ -50,7 +50,7 @@ class Storage extends Wrapper { /** @var ILogger */ private $logger; - /** @var EventDispatcher */ + /** @var EventDispatcherInterface */ private $eventDispatcher; /** @var IRootFolder */ @@ -66,7 +66,7 @@ class Storage extends Wrapper { * @param ITrashManager $trashManager * @param IUserManager|null $userManager * @param ILogger|null $logger - * @param EventDispatcher|null $eventDispatcher + * @param EventDispatcherInterface|null $eventDispatcher * @param IRootFolder|null $rootFolder */ public function __construct( @@ -74,7 +74,7 @@ class Storage extends Wrapper { ITrashManager $trashManager = null, IUserManager $userManager = null, ILogger $logger = null, - EventDispatcher $eventDispatcher = null, + EventDispatcherInterface $eventDispatcher = null, IRootFolder $rootFolder = null ) { $this->mountPoint = $parameters['mountPoint']; |