Skip to content

Commit

Permalink
also returns connection objects...
Browse files Browse the repository at this point in the history
  • Loading branch information
basz committed Mar 6, 2020
1 parent c79216b commit 02b929b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Registry/ManagerRegistry.php
Expand Up @@ -12,7 +12,6 @@

use Doctrine\Common\Persistence\AbstractManagerRegistry;
use Doctrine\ORM\ORMException;
use Doctrine\Persistence\ObjectManager;
use Interop\Container\ContainerInterface;

class ManagerRegistry extends AbstractManagerRegistry
Expand Down Expand Up @@ -42,7 +41,7 @@ public function __construct(
/**
* {@inheritdoc}
*/
protected function getService($name): ObjectManager
protected function getService($name)
{
return $this->serviceManager->get($name);
}
Expand Down

0 comments on commit 02b929b

Please sign in to comment.