aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/EventDispatcher/EventDispatcher.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/EventDispatcher/EventDispatcher.php')
-rw-r--r--lib/private/EventDispatcher/EventDispatcher.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/EventDispatcher/EventDispatcher.php b/lib/private/EventDispatcher/EventDispatcher.php
index b7554c439ea..474c902013b 100644
--- a/lib/private/EventDispatcher/EventDispatcher.php
+++ b/lib/private/EventDispatcher/EventDispatcher.php
@@ -14,7 +14,7 @@ use OCP\Broadcast\Events\IBroadcastEvent;
use OCP\EventDispatcher\ABroadcastedEvent;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventDispatcher;
-use OCP\IServerContainer;
+use Psr\Container\ContainerInterface;
use Psr\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcher as SymfonyDispatcher;
use function get_class;
@@ -22,7 +22,7 @@ use function get_class;
class EventDispatcher implements IEventDispatcher {
public function __construct(
private SymfonyDispatcher $dispatcher,
- private IServerContainer $container,
+ private ContainerInterface $container,
private LoggerInterface $logger,
) {
// inject the event dispatcher into the logger