[DoctrineBundle] CS
This commit is contained in:
parent
0c4b79396b
commit
0e00e3ff4c
@ -57,10 +57,9 @@ class DoctrineBundle extends Bundle
|
||||
foreach ($registry->getEntityManagers() as $em) {
|
||||
|
||||
if ($em->getConfiguration()->getAutoGenerateProxyClasses()) {
|
||||
|
||||
$classes = $em->getMetadataFactory()->getAllMetadata();
|
||||
foreach ($classes as $class)
|
||||
{
|
||||
|
||||
foreach ($classes as $class) {
|
||||
$name = str_replace('\\', '', $class->name);
|
||||
|
||||
if ($name == $originalClassName) {
|
||||
|
Reference in New Issue
Block a user