Skip to content

Commit 8e57811

Browse files
Merge branch '3.3' into 3.4
* 3.3: Random fixes Docblock fixes [HttpKernel] Enhance deprecation message [SecurityBundle] Fix the datacollector to properly support decision.object being null
2 parents 101faeb + 2269fba commit 8e57811

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Constraints/AbstractComparisonValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function validate($value, Constraint $constraint)
6969
if ($value instanceof \DateTimeImmutable) {
7070
// If $value is immutable, convert the compared value to a
7171
// DateTimeImmutable too
72-
$comparedValue = new \DatetimeImmutable($comparedValue);
72+
$comparedValue = new \DateTimeImmutable($comparedValue);
7373
} elseif ($value instanceof \DateTimeInterface) {
7474
// Otherwise use DateTime
7575
$comparedValue = new \DateTime($comparedValue);

Mapping/Loader/LoaderChain.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,12 @@ public function loadClassMetadata(ClassMetadata $metadata)
5656

5757
return $success;
5858
}
59+
60+
/**
61+
* @return LoaderInterface[]
62+
*/
63+
public function getLoaders()
64+
{
65+
return $this->loaders;
66+
}
5967
}

0 commit comments

Comments
 (0)