Skip to content

Commit

Permalink
Merge pull request #48845 from nextcloud/backport/40367/stable27
Browse files Browse the repository at this point in the history
[stable27]  Fix registerEventListener signature
  • Loading branch information
nickvergessen authored Oct 22, 2024
2 parents 22bd46e + a948a71 commit 6901134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/public/AppFramework/Bootstrap/IRegistrationContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function registerParameter(string $name, $value): void;
* @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)
*
Expand Down

0 comments on commit 6901134

Please sign in to comment.