From fb5e508340a6ebbec25949a3fa7bda281c343ee3 Mon Sep 17 00:00:00 2001 From: Cyrill Kalita Date: Thu, 11 Jun 2020 09:28:38 -0500 Subject: [PATCH] Fix the signature of the model --- src/WebhookCall.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WebhookCall.php b/src/WebhookCall.php index 6716d2b..48b239e 100644 --- a/src/WebhookCall.php +++ b/src/WebhookCall.php @@ -9,7 +9,7 @@ class WebhookCall extends Model { - public static function storeWebhook(WebhookConfig $config, Request $request): self + public static function storeWebhook(WebhookConfig $config, Request $request): Model { // payload is not proper JSON, rather is it split between three blocks $payload = $request->input();