We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a1963 commit 8a5f5ddCopy full SHA for 8a5f5dd
core/validation.md
@@ -78,7 +78,7 @@ final class MinimalPropertiesValidator extends ConstraintValidator
78
{
79
public function validate($value, Constraint $constraint): void
80
81
- if (!array_diff(['description', 'price'], $value)) {
+ if (array_diff(['description', 'price'], $value)) {
82
$this->context->buildViolation($constraint->message)->addViolation();
83
}
84
0 commit comments