Skip to content

Commit baf6ca6

Browse files
[Validator][CidrValidator] Comment on CidrValidator.php deleted
1 parent 6f95734 commit baf6ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Constraints/CidrValidator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function validate($value, Constraint $constraint): void
8181
$this->context
8282
->buildViolation($constraint->netmaskRangeViolationMessage)
8383
->setParameter('{{ min }}', $constraint->netmaskMin)
84-
->setParameter('{{ max }}', $netmaskMax) //avant $constraint->netmaskMin
84+
->setParameter('{{ max }}', $netmaskMax)
8585
->setCode(Cidr::OUT_OF_RANGE_ERROR)
8686
->addViolation();
8787
}

0 commit comments

Comments
 (0)