Skip to content

Commit

Permalink
stop marking parameters implicitly as nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Mar 27, 2024
1 parent c50d764 commit ca1d78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Fixtures/ConstraintWithRequiredArgument.php
Expand Up @@ -20,7 +20,7 @@ final class ConstraintWithRequiredArgument extends Constraint
public string $requiredArg;

#[HasNamedArguments]
public function __construct(string $requiredArg, array $groups = null, mixed $payload = null)
public function __construct(string $requiredArg, ?array $groups = null, mixed $payload = null)
{
parent::__construct([], $groups, $payload);

Expand Down

0 comments on commit ca1d78e

Please sign in to comment.