Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 62d880d

Browse filesBrowse files
[Validator] Fix docblock of All constraint constructor
1 parent 653e42d commit 62d880d
Copy full SHA for 62d880d

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Constraints/All.php
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.