Skip to content

Commit 0ff523e

Browse files
committed
fix: fix psalm
Signed-off-by: Jana Peper <[email protected]>
1 parent 21b7e0a commit 0ff523e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

apps/webhook_listeners/lib/Controller/WebhooksController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ public function create(
187187
* @param "none"|"header"|null $authMethod Authentication method to use
188188
* @param ?array<string,mixed> $authData Array of data for authentication
189189
* @param ?array<string,mixed> $tokenNeeded List of user ids for which to include auth tokens in the event.
190-
* @param ?array<string,mixed> $tokenNeeded List of user ids for which to include auth tokens in the event.
191190
* Has two fields: "user_ids" list of user uids for which tokens are needed, "user_roles" list of roles (users not defined by their ID but by the role they have in the webhook event) for which tokens can be included.
192191
* Possible roles: "owner" for the user creating the webhook, "trigger" for the user triggering the webhook call.
193192
* Requested auth tokens are valid for 1 hour after receiving them in the event call request.

apps/webhook_listeners/lib/Db/TemporaryTokenMapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function getById(int $id): TemporaryToken {
5454

5555
/**
5656
* @throws Exception
57-
* @return WebhookListener[]
57+
* @return TemporaryToken[]
5858
*/
5959
public function getAll(): array {
6060
$qb = $this->db->getQueryBuilder();

0 commit comments

Comments
 (0)