Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ca3e0c6

Browse files
committed
[DoctrineBridge] Fix use "attribute" driver by default
1 parent dc1eccc commit ca3e0c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExtension.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ protected function loadMappingInformation(array $objectManager, ContainerBuilder
5959
}
6060

6161
$mappingConfig = array_replace([
62-
'dir' => false,
63-
'type' => false,
64-
'prefix' => false,
62+
'dir' => null,
63+
'type' => null,
64+
'prefix' => null,
6565
], (array) $mappingConfig);
6666

6767
$mappingConfig['dir'] = $container->getParameterBag()->resolveValue($mappingConfig['dir']);

0 commit comments

Comments
 (0)