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

Skip to content

Commit 80d15cd

Browse files
Merge branch '3.4' into 4.3
* 3.4: Add missing annotation
2 parents 7d88be8 + 4ec093a commit 80d15cd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Symfony/Bridge/Doctrine/Test/DoctrineTestHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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(

src/Symfony/Bridge/Doctrine/Test/TestRepositoryFactory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)