From ff13aed18fa484552003b096c1ea779ddea6ae73 Mon Sep 17 00:00:00 2001 From: Ransom Pate Date: Sat, 28 Dec 2024 22:08:02 -0500 Subject: [PATCH] add null union type to fix php 8.4 deprecation message --- src/StripeWebhooksController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StripeWebhooksController.php b/src/StripeWebhooksController.php index ac757d6..4475b13 100644 --- a/src/StripeWebhooksController.php +++ b/src/StripeWebhooksController.php @@ -8,7 +8,7 @@ class StripeWebhooksController { - public function __invoke(Request $request, string $configKey = null) + public function __invoke(Request $request, string|null $configKey = null) { $webhookConfig = new WebhookConfig([ 'name' => 'stripe',