Skip to content

Commit b829297

Browse files
Merge branch '2.7' into 2.8
* 2.7: Docblock fixes
2 parents c8a4068 + 6aadd7f commit b829297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Constraints/AbstractComparisonValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function validate($value, Constraint $constraint)
4747
if ($value instanceof \DateTimeImmutable) {
4848
// If $value is immutable, convert the compared value to a
4949
// DateTimeImmutable too
50-
$comparedValue = new \DatetimeImmutable($comparedValue);
50+
$comparedValue = new \DateTimeImmutable($comparedValue);
5151
} elseif ($value instanceof \DateTime || $value instanceof \DateTimeInterface) {
5252
// Otherwise use DateTime
5353
$comparedValue = new \DateTime($comparedValue);

0 commit comments

Comments
 (0)