|
|
@@ -4,7 +4,7 @@ namespace App\Repository; |
|
|
|
|
|
|
|
use App\Entity\Project; |
|
|
|
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; |
|
|
|
use Symfony\Bridge\Doctrine\RegistryInterface; |
|
|
|
use Doctrine\Persistence\ManagerRegistry; |
|
|
|
|
|
|
|
/** |
|
|
|
* Class ProjectRepository |
|
|
@@ -22,9 +22,9 @@ class ProjectRepository extends ServiceEntityRepository |
|
|
|
/** |
|
|
|
* ProjectRepository constructor. |
|
|
|
* |
|
|
|
* @param RegistryInterface $registry |
|
|
|
* @param ManagerRegistry $registry |
|
|
|
*/ |
|
|
|
public function __construct(RegistryInterface $registry) |
|
|
|
public function __construct(ManagerRegistry $registry) |
|
|
|
{ |
|
|
|
parent::__construct($registry, Project::class); |
|
|
|
} |
|
|
|