Skip to content

Commit b823796

Browse files
94noninicolas-grekas
authored andcommitted
[Validator] fix php doc
1 parent 836ced0 commit b823796

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Constraints/Type.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ class Type extends Constraint
3131
public string|array|null $type = null;
3232

3333
/**
34-
* @param string|string[]|array<string,mixed>|null $type The type(s) to enforce on the value
35-
* @param string[]|null $groups
36-
* @param array<string,mixed> $options
34+
* @param string|list<string>|array<string,mixed>|null $type The type(s) to enforce on the value
35+
* @param string[]|null $groups
36+
* @param array<string,mixed> $options
3737
*/
3838
public function __construct(string|array|null $type, ?string $message = null, ?array $groups = null, mixed $payload = null, array $options = [])
3939
{

0 commit comments

Comments
 (0)