Skip to content

Commit 5ba8171

Browse files
committed
Fix class exists
1 parent ad0f487 commit 5ba8171

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/AutoMapper/AutoMapper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function getMapper(string $source, string $target): MapperInterface
8686
return $this->mapperRegistry[$className];
8787
}
8888

89-
if (!\class_exists($className)) {
89+
if (!class_exists($className)) {
9090
$this->classLoader->loadClass($metadata);
9191
}
9292

Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CHANGELOG
22
=========
33

4-
4.3.0
4+
5.1.0
55
-----
66

77
* Initial release

0 commit comments

Comments
 (0)