Skip to content

Commit c1f3523

Browse files
pauciondrejmirtes
authored andcommitted
Add support getRepository call on ObjectManager interface
1 parent c534c1d commit c1f3523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/Doctrine/EntityManagerGetRepositoryDynamicReturnTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function __construct(string $repositoryClass)
2222

2323
public function getClass(): string
2424
{
25-
return \Doctrine\ORM\EntityManager::class;
25+
return \Doctrine\Common\Persistence\ObjectManager::class;
2626
}
2727

2828
public function isMethodSupported(MethodReflection $methodReflection): bool

0 commit comments

Comments
 (0)