We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c50d764 commit ca1d78eCopy full SHA for ca1d78e
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