File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 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()
7979 $ symfonyFileLocator = class_exists (SymfonyFileLocator::class) ? SymfonyFileLocator::class : LegacySymfonyFileLocator::class;
8080 $ driverChain = class_exists (MappingDriverChain::class) ? MappingDriverChain::class : LegacyMappingDriverChain::class;
8181
82- $ driverChain = new MappingDriverChain ();
82+ $ driverChain = new $ driverChain ();
8383 $ driverChain ->addDriver (
8484 new XmlDriver (
8585 new $ symfonyFileLocator (
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ final class TestRepositoryFactory implements RepositoryFactory
2929
3030 /**
3131 * {@inheritdoc}
32+ *
33+ * @return ObjectRepository|LegacyObjectRepository
3234 */
3335 public function getRepository (EntityManagerInterface $ entityManager , $ entityName )
3436 {
You can’t perform that action at this time.
0 commit comments