8000 fabbot patch applied · symfony/symfony@805ed9f · GitHub
[go: up one dir, main page]

Skip to content

Commit 805ed9f

Browse files
committed
fabbot patch applied
1 parent 06f3250 commit 805ed9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function validate(#[\SensitiveParameter] mixed $value, Constraint $constr
4444
->addViolation();
4545
}
4646
$wordList = $this->findRestrictedUserInputs($strength['sequence'] ?? []);
47-
if (\count($wordList) !== 0) {
47+
if (0 !== \count($wordList)) {
4848
$this->context->buildViolation($constraint->restrictedDataMessage, [
4949
'{{ wordList }}' => implode(', ', $wordList),
5050
])

0 commit comments

Comments
 (0)
0