Merge branch '4.3' into 4.4
* 4.3: Add missing annotation
This commit is contained in:
commit
12f46ba538
@ -79,7 +79,7 @@ class DoctrineTestHelper
|
||||
$symfonyFileLocator = class_exists(SymfonyFileLocator::class) ? SymfonyFileLocator::class : LegacySymfonyFileLocator::class;
|
||||
$driverChain = class_exists(MappingDriverChain::class) ? MappingDriverChain::class : LegacyMappingDriverChain::class;
|
||||
|
||||
$driverChain = new MappingDriverChain();
|
||||
$driverChain = new $driverChain();
|
||||
$driverChain->addDriver(
|
||||
new XmlDriver(
|
||||
new $symfonyFileLocator(
|
||||
|
@ -29,8 +29,10 @@ final class TestRepositoryFactory implements RepositoryFactory
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @return ObjectRepository|LegacyObjectRepository
|
||||
*/
|
||||
public function getRepository(EntityManagerInterface $entityManager, $entityName): ObjectRepository
|
||||
public function getRepository(EntityManagerInterface $entityManager, $entityName)
|
||||
{
|
||||
$repositoryHash = $this->getRepositoryHash($entityManager, $entityName);
|
||||
|
||||
|
Reference in New Issue
Block a user