mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix registerEventListener signature
It seems now psalm correctly supports this. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
05efbf11d9
commit
500374a8e7
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ interface IRegistrationContext {
|
|||
* @param string $event preferably the fully-qualified class name of the Event sub class to listen for
|
||||
* @psalm-param string|class-string<T> $event preferably the fully-qualified class name of the Event sub class to listen for
|
||||
* @param string $listener fully qualified class name (or ::class notation) of a \OCP\EventDispatcher\IEventListener that can be built by the DI container
|
||||
* @psalm-param class-string<\OCP\EventDispatcher\IEventListener> $listener fully qualified class name that can be built by the DI container
|
||||
* @psalm-param class-string<\OCP\EventDispatcher\IEventListener<T>> $listener fully qualified class name that can be built by the DI container
|
||||
* @param int $priority The higher this value, the earlier an event
|
||||
* listener will be triggered in the chain (defaults to 0)
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue