Skip to content
This repository was archived by the owner on Jun 26, 2024. It is now read-only.

Commit fb73c83

Browse files
committed
Redo doctrine/persistence compatibility fix
1 parent c10adf4 commit fb73c83

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Controller/CoordinatesUtilityController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Doctrine\Common\Collections\ArrayCollection;
66
use Doctrine\Common\Collections\Criteria;
77
use Doctrine\Common\Collections\Selectable;
8-
use Symfony\Bridge\Doctrine\RegistryInterface;
8+
use Doctrine\Persistence\ManagerRegistry;
99
use Symfony\Component\Routing\Annotation\Route;
1010
use Symfony\Component\HttpFoundation\JsonResponse;
1111
use Symfony\Component\HttpFoundation\Request;
@@ -14,10 +14,10 @@
1414

1515
class CoordinatesUtilityController
1616
{
17-
/** @var RegistryInterface */
17+
/** @var ManagerRegistry|\Symfony\Bridge\Doctrine\RegistryInterface */
1818
protected $doctrineRegistry;
1919

20-
public function __construct(RegistryInterface $doctrineRegistry)
20+
public function __construct($doctrineRegistry)
2121
{
2222
$this->doctrineRegistry = $doctrineRegistry;
2323
}

0 commit comments

Comments
 (0)