Skip to content

Commit a0c9eff

Browse files
authored
Merge pull request #3029 from ad3n/patch-1
[MINOR] PHPDoc Typo
2 parents e01401b + 8cf23cb commit a0c9eff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Bridge/Doctrine/Orm/CollectionDataProvider.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
use ApiPlatform\Core\DataProvider\RestrictedDataProviderInterface;
2121
use ApiPlatform\Core\Exception\RuntimeException;
2222
use Doctrine\Common\Persistence\ManagerRegistry;
23-
use Doctrine\Common\Persistence\ObjectManager;
2423
use Doctrine\ORM\EntityManagerInterface;
2524

2625
/**
@@ -56,7 +55,7 @@ public function supports(string $resourceClass, string $operationName = null, ar
5655
*/
5756
public function getCollection(string $resourceClass, string $operationName = null, array $context = [])
5857
{
59-
/** @var ObjectManager $manager */
58+
/** @var EntityManagerInterface $manager */
6059
$manager = $this->managerRegistry->getManagerForClass($resourceClass);
6160

6261
$repository = $manager->getRepository($resourceClass);

0 commit comments

Comments
 (0)