Skip to content

Commit 37294ed

Browse files
authored
add null union type to fix php 8.4 deprecation message (#183)
1 parent dc681a7 commit 37294ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/StripeWebhooksController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class StripeWebhooksController
1010
{
11-
public function __invoke(Request $request, string $configKey = null)
11+
public function __invoke(Request $request, string|null $configKey = null)
1212
{
1313
$webhookConfig = new WebhookConfig([
1414
'name' => 'stripe',

0 commit comments

Comments
 (0)