Skip to content

Commit 62d880d

Browse files
[Validator] Fix docblock of All constraint constructor
1 parent 653e42d commit 62d880d

File tree

1 file changed

+2
-2
lines changed
  • src/Symfony/Component/Validator/Constraints

1 file changed

+2
-2
lines changed

src/Symfony/Component/Validator/Constraints/All.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class All extends Composite
2525
public array|Constraint $constraints = [];
2626

2727
/**
28-
* @param array<Constraint>|array<string,mixed>|null $constraints
29-
* @param string[]|null $groups
28+
* @param array<Constraint>|array<string,mixed>|Constraint|null $constraints
29+
* @param string[]|null $groups
3030
*/
3131
public function __construct(mixed $constraints = null, ?array $groups = null, mixed $payload = null)
3232
{

0 commit comments

Comments
 (0)