Skip to content

Commit

Permalink
add null union type to fix php 8.4 deprecation message (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
billypoke authored Dec 30, 2024
1 parent dc681a7 commit 37294ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StripeWebhooksController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 37294ed

Please sign in to comment.