Pārlūkot izejas kodu

fix: dev: deprecation error in Repository #1

tags/0.3.1
Laszlo Lang pirms 3 mēnešiem
vecāks
revīzija
9aef77cba9
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. +3
    -3
      src/Repository/ProjectRepository.php

+ 3
- 3
src/Repository/ProjectRepository.php Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt