Skip to content

Commit fd44abf

Browse files
JanTvrdikondrejmirtes
authored andcommitted
support ObjectManager interface
1 parent 673653c commit fd44abf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/Doctrine/EntityManagerFindDynamicReturnTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class EntityManagerFindDynamicReturnTypeExtension implements \PHPStan\Type\Dynam
1515

1616
public function getClass(): string
1717
{
18-
return \Doctrine\ORM\EntityManager::class;
18+
return \Doctrine\Common\Persistence\ObjectManager::class;
1919
}
2020

2121
public function isMethodSupported(MethodReflection $methodReflection): bool

0 commit comments

Comments
 (0)