Update tests/e2e/Services/Webhooks/WebhooksBase.php
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
This commit is contained in:
parent
9e828ecbe7
commit
41ccb6a72b
|
@ -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'];
|
||||
|
|
Loading…
Reference in a new issue