8000 [DoctrineBridge] fixed typo · 77web/symfony@e0b768b · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit e0b768b

Browse files
committed
[DoctrineBridge] fixed typo
1 parent d528b74 commit e0b768b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Doctrine/Form/DoctrineOrmTypeGuesser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ protected function getMetadata($class)
122122

123123
$this->cache[$class] = null;
124124
foreach ($this->registry->getEntityManagers() as $name => $em) {
125-
if ($em->getConfiguration()->getMetadataDriverImpl()->isTransient($class)) {
125+
if (!$em->getConfiguration()->getMetadataDriverImpl()->isTransient($class)) {
126126
return $this->cache[$class] = array($em->getClassMetadata($class), $name);
127127
}
128128
}

0 commit comments

Comments
 (0)
0