Skip to content

Commit 9869311

Browse files
nesl247fabpot
authored andcommitted
[Validator] Expression constraint docblock incorrectly states default value for negate
1 parent 788f7e8 commit 9869311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Constraints/Expression.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Expression extends Constraint
4444
* @param array<string,mixed>|null $values The values of the custom variables used in the expression (defaults to an empty array)
4545
* @param string[]|null $groups
4646
* @param array<string,mixed>|null $options
47-
* @param bool|null $negate Whether to fail if the expression evaluates to true (defaults to false)
47+
* @param bool|null $negate When set to true, if the expression returns true, the validation will pass (defaults to true)
4848
*/
4949
#[HasNamedArguments]
5050
public function __construct(

0 commit comments

Comments
 (0)