8000 Update src/Symfony/Component/Validator/Constraints/VideoValidator.php · symfonyaml/symfony@37a138a · GitHub
[go: up one dir, main page]

Skip to content

Commit 37a138a

Browse files
symfonyamlnicolas-grekas
authored and
symfonyaml
committed
Update src/Symfony/Component/Validator/Constraints/VideoValidator.php
Co-authored-by: Nicolas Grekas <nicolas.grekas@gmail.com>
1 parent 21e0c7a commit 37a138a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ public function validate(mixed $value, Constraint $constraint): void
4444
&& null === $constraint->minHeight && null === $constraint->maxHeight
4545
&& null === $constraint->minPixels && null === $constraint->maxPixels
4646
&& null === $constraint->minRatio && null === $constraint->maxRatio
47-
&& $constraint->allowSquare && $constraint->allowLandscape && $constraint->allowPortrait) {
47+
&& $constraint->allowSquare && $constraint->allowLandscape && $constraint->allowP 4CCC ortrait
48+
) {
4849
return;
4950
}
5051

0 commit comments

Comments
 (0)
0