Skip to content

Commit

Permalink
Fix nullable string parameter type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
maximal authored Nov 26, 2024
1 parent 8e00229 commit 2d9a287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BladeRouteGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class BladeRouteGenerator
{
public static $generated;

public function generate($group = null, string $nonce = null): string
public function generate($group = null, ?string $nonce = null): string
{
$ziggy = new Ziggy($group);

Expand Down

0 comments on commit 2d9a287

Please sign in to comment.