Browse Source

fix: dev: deprecation error in Repository #1

tags/0.3.1
Lang 5 months ago
parent
commit
9aef77cba9
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/Repository/ProjectRepository.php

+ 3
- 3
src/Repository/ProjectRepository.php View File

@@ -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);
}


Loading…
Cancel
Save