Skip to content

Commit 801157e

Browse files
Merge branch '2.8' into 3.3
* 2.8: Docblock fixes
2 parents 3b8dcab + b829297 commit 801157e

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
@@ -46,7 +46,7 @@ public function validate($value, Constraint $constraint)
4646
if ($value instanceof \DateTimeImmutable) {
4747
// If $value is immutable, convert the compared value to a
4848
// DateTimeImmutable too
49-
$comparedValue = new \DatetimeImmutable($comparedValue);
49+
$comparedValue = new \DateTimeImmutable($comparedValue);
5050
} elseif ($value instanceof \DateTimeInterface) {
5151
// Otherwise use DateTime
5252
$comparedValue = new \DateTime($comparedValue);

0 commit comments

Comments
 (0)