8000 Fix CS · symfony/symfony@799624b · GitHub
[go: up one dir, main page]

Skip to content

Commit 799624b

Browse files
committed
Fix CS
1 parent 1e52146 commit 799624b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ public function validate($value, Constraint $constraint)
5757
return;
5858
}
5959

60-
if('+' === substr($constraint->format, -1)) {
61-
$errors['warnings'] = array_filter($errors['warnings'], function($warning) {
60+
if ('+' === substr($constraint->format, -1)) {
61+
$errors['warnings'] = array_filter($errors['warnings'], function ($warning) {
6262
return 'Trailing data' !== $warning;
6363
});
6464
}

0 commit comments

Comments
 (0)
0