mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Merge pull request #48845 from nextcloud/backport/40367/stable27
[stable27] Fix registerEventListener signature
This commit is contained in:
commit
6901134777
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