Skip to content

Commit

Permalink
test: Add explicit nullable type declaration
Browse files Browse the repository at this point in the history
Fixes PHP 8.4 compat
  • Loading branch information
mfn committed Nov 22, 2024
1 parent 1f73eb8 commit 0365fe1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public function authorize(
$root,
array $args,
$ctx,
ResolveInfo $resolveInfo = null,
Closure $getSelectFields = null
?ResolveInfo $resolveInfo = null,
?Closure $getSelectFields = null
): bool {
Assert::assertNull($root);

Expand Down

0 comments on commit 0365fe1

Please sign in to comment.