Skip to content

Commit e40d82c

Browse files
mhujerondrejmirtes
authored andcommitted
use EntityManagerInterface for QB return type extension
1 parent 13260da commit e40d82c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/Doctrine/QueryBuilder/CreateQueryBuilderDynamicReturnTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function __construct(?string $queryBuilderClass)
2020

2121
public function getClass(): string
2222
{
23-
return 'Doctrine\ORM\EntityManager';
23+
return 'Doctrine\ORM\EntityManagerInterface';
2424
}
2525

2626
public function isMethodSupported(MethodReflection $methodReflection): bool

0 commit comments

Comments
 (0)