Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 12f46ba

Browse filesBrowse files
Merge branch '4.3' into 4.4
* 4.3: Add missing annotation
2 parents 93b2f9e + 80d15cd commit 12f46ba
Copy full SHA for 12f46ba

File tree

Expand file treeCollapse file tree

2 files changed

+4
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Test/DoctrineTestHelper.php
+1-1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Test/TestRepositoryFactory.php
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ final class TestRepositoryFactory implements RepositoryFactory
2929

3030
/**
3131
* {@inheritdoc}
32+
*
33+
* @return ObjectRepository|LegacyObjectRepository
3234
*/
33-
public function getRepository(EntityManagerInterface $entityManager, $entityName): ObjectRepository
35+
public function getRepository(EntityManagerInterface $entityManager, $entityName)
3436
{
3537
$repositoryHash = $this->getRepositoryHash($entityManager, $entityName);
3638

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.