1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

Update tests/e2e/Services/Webhooks/WebhooksBase.php

Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
This commit is contained in:
Shimon Newman 2022-06-08 11:03:07 +03:00 committed by GitHub
parent 9e828ecbe7
commit 41ccb6a72b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ use Tests\E2E\Client;
trait WebhooksBase
{
public static function getWebhookSignature($webhook, $signatureKey): string
public static function getWebhookSignature(array $webhook, string $signatureKey): string
{
$payload = json_encode($webhook['data']);
$url = $webhook['url'];