fix(webhooks): update docblock options for authMethod

Signed-off-by: Hendrik Heil <hendrik@heil.sh>
pull/51758/head
Hendrik Heil 1 year ago committed by backportbot[bot]
parent f61446e843
commit 64b6439be8
  1. 4
      apps/webhook_listeners/lib/Controller/WebhooksController.php

@ -110,7 +110,7 @@ class WebhooksController extends OCSController {
* @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{}>
@ -178,7 +178,7 @@ class WebhooksController extends OCSController {
* @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{}>

Loading…
Cancel
Save