You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -83,7 +86,9 @@ public function registerService(string $name, callable $factory, bool $shared =
83
86
84
87
/**
85
88
* @param string $alias
89
+
* @psalm-param string|class-string $alias
86
90
* @param string $target
91
+
* @psalm-param string|class-string $target
87
92
*
88
93
* @return void
89
94
* @see IContainer::registerAlias()
@@ -109,7 +114,9 @@ public function registerParameter(string $name, $value): void;
109
114
* This is equivalent to calling IEventDispatcher::addServiceListener
110
115
*
111
116
* @param string $event preferably the fully-qualified class name of the Event sub class to listen for
117
+
* @psalm-param string|class-string<\OCP\EventDispatcher\Event> $event preferably the fully-qualified class name of the Event sub class to listen for
112
118
* @param string $listener fully qualified class name (or ::class notation) of a \OCP\EventDispatcher\IEventListener that can be built by the DI container
119
+
* @psalm-param class-string<\OCP\EventDispatcher\IEventListener> $listener fully qualified class name that can be built by the DI container
113
120
* @param int $priority
114
121
*
115
122
* @see IEventDispatcher::addServiceListener()
@@ -120,6 +127,7 @@ public function registerEventListener(string $event, string $listener, int $prio
0 commit comments