File tree 2 files changed +3
-1
lines changed
src/Symfony/Bridge/Doctrine/Test
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public static function createTestConfigurationWithXmlLoader()
79
79
$ symfonyFileLocator = class_exists (SymfonyFileLocator::class) ? SymfonyFileLocator::class : LegacySymfonyFileLocator::class;
80
80
$ driverChain = class_exists (MappingDriverChain::class) ? MappingDriverChain::class : LegacyMappingDriverChain::class;
81
81
82
- $ driverChain = new MappingDriverChain ();
82
+ $ driverChain = new $ driverChain ();
83
83
$ driverChain ->addDriver (
84
84
new XmlDriver (
85
85
new $ symfonyFileLocator (
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ final class TestRepositoryFactory implements RepositoryFactory
29
29
30
30
/**
31
31
* {@inheritdoc}
32
+ *
33
+ * @return ObjectRepository|LegacyObjectRepository
32
34
*/
33
35
public function getRepository (EntityManagerInterface $ entityManager , $ entityName )
34
36
{
You can’t perform that action at this time.
0 commit comments