We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8872c3b + ca1d78e commit a2df2c6Copy full SHA for a2df2c6
Tests/Fixtures/ConstraintWithRequiredArgument.php
@@ -20,7 +20,7 @@ final class ConstraintWithRequiredArgument extends Constraint
20
public string $requiredArg;
21
22
#[HasNamedArguments]
23
- public function __construct(string $requiredArg, array $groups = null, mixed $payload = null)
+ public function __construct(string $requiredArg, ?array $groups = null, mixed $payload = null)
24
{
25
parent::__construct([], $groups, $payload);
26
0 commit comments