Skip to content

Commit 3d8dbe5

Browse files
committed
cleanups
1 parent c3243ff commit 3d8dbe5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Functional/DbManager/PHPCR.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
use Doctrine\ODM\PHPCR\DocumentManager;
2020
use Symfony\Component\DependencyInjection\ContainerInterface;
2121
use Doctrine\Common\DataFixtures\ProxyReferenceRepository;
22+
use Doctrine\Common\Persistence\ManagerRegistry;
2223

2324
class PHPCR
2425
{
@@ -41,7 +42,7 @@ public function __construct(ContainerInterface $container)
4142
/**
4243
* Return the PHPCR ODM registry
4344
*
44-
* @return Symfony\Bridge\Doctrine\RegistryInterface
45+
* @return ManagerRegistry
4546
*/
4647
public function getRegistry()
4748
{
@@ -68,7 +69,6 @@ public function getOm($managerName = null)
6869
*/
6970
public function purgeRepository($initialize = false)
7071
{
71-
$purger = new PHPCRPurger();
7272
$this->getExecutor($initialize)->purge();
7373
}
7474

0 commit comments

Comments
 (0)