Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(webhooks): update docblock options for authMethod
Signed-off-by: Hendrik Heil <[email protected]>
  • Loading branch information
hendrikheil authored and backportbot[bot] committed Mar 27, 2025
commit 64b6439be8a79ec9ab23599e4c7f3dc278fe048c
4 changes: 2 additions & 2 deletions apps/webhook_listeners/lib/Controller/WebhooksController.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function show(int $id): DataResponse {
* @param ?array<string,mixed> $eventFilter Mongo filter to apply to the serialized data to decide if firing
* @param ?string $userIdFilter User id to filter on. The webhook will only be called by requests from this user. Empty or null means no filtering.
* @param ?array<string,string> $headers Array of headers to send
* @param "none"|"headers"|null $authMethod Authentication method to use
* @param "none"|"header"|null $authMethod Authentication method to use
* @param ?array<string,mixed> $authData Array of data for authentication
*
* @return DataResponse<Http::STATUS_OK, WebhookListenersWebhookInfo, array{}>
Expand Down Expand Up @@ -178,7 +178,7 @@ public function create(
* @param ?array<string,mixed> $eventFilter Mongo filter to apply to the serialized data to decide if firing
* @param ?string $userIdFilter User id to filter on. The webhook will only be called by requests from this user. Empty or null means no filtering.
* @param ?array<string,string> $headers Array of headers to send
* @param "none"|"headers"|null $authMethod Authentication method to use
* @param "none"|"header"|null $authMethod Authentication method to use
* @param ?array<string,mixed> $authData Array of data for authentication
*
* @return DataResponse<Http::STATUS_OK, WebhookListenersWebhookInfo, array{}>
Expand Down