Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 799624b

Browse filesBrowse files
committed
Fix CS
1 parent 1e52146 commit 799624b
Copy full SHA for 799624b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Constraints/DateTimeValidator.php
+2-2Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.