Skip to content

Commit 8cbfeca

Browse files
committed
[Validator] Remove deprecated array type from Expression constructor PHPDoc
1 parent cc6e683 commit 8cbfeca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Constraints/Expression.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ class Expression extends Constraint
4141
public bool $negate = true;
4242

4343
/**
44-
* @param string|ExpressionObject|array<string,mixed>|null $expression The expression to evaluate
45-
* @param array<string,mixed>|null $values The values of the custom variables used in the expression (defaults to an empty array)
46-
* @param string[]|null $groups
47-
* @param bool|null $negate Whether to fail if the expression evaluates to true (defaults to false)
44+
* @param string|ExpressionObject|null $expression The expression to evaluate
45+
* @param array<string,mixed>|null $values The values of the custom variables used in the expression (defaults to an empty array)
46+
* @param string[]|null $groups
47+
* @param bool|null $negate Whether to fail if the expression evaluates to true (defaults to false)
4848
*/
4949
public function __construct(
5050
string|ExpressionObject|null $expression,

0 commit comments

Comments
 (0)