diff --git a/src/Repository/CategoryRepository.php b/src/Repository/CategoryRepository.php index d55d953c..bac93b71 100644 --- a/src/Repository/CategoryRepository.php +++ b/src/Repository/CategoryRepository.php @@ -7,7 +7,6 @@ use App\Entity\Category; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\ORM\NonUniqueResultException; -use Doctrine\ORM\NoResultException; use Doctrine\Persistence\ManagerRegistry; /** @@ -25,7 +24,6 @@ public function __construct(ManagerRegistry $registry) /** * @throws NonUniqueResultException - * @throws NoResultException */ public function countAll(): int { diff --git a/src/Repository/CityRepository.php b/src/Repository/CityRepository.php index c9bc34e3..5df943c1 100644 --- a/src/Repository/CityRepository.php +++ b/src/Repository/CityRepository.php @@ -7,7 +7,6 @@ use App\Entity\City; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\ORM\NonUniqueResultException; -use Doctrine\ORM\NoResultException; use Doctrine\Persistence\ManagerRegistry; /** @@ -25,7 +24,6 @@ public function __construct(ManagerRegistry $registry) /** * @throws NonUniqueResultException - * @throws NoResultException */ public function countAll(): int { diff --git a/src/Repository/DealTypeRepository.php b/src/Repository/DealTypeRepository.php index f80162e5..8244e577 100644 --- a/src/Repository/DealTypeRepository.php +++ b/src/Repository/DealTypeRepository.php @@ -7,7 +7,6 @@ use App\Entity\DealType; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\ORM\NonUniqueResultException; -use Doctrine\ORM\NoResultException; use Doctrine\Persistence\ManagerRegistry; /** @@ -25,7 +24,6 @@ public function __construct(ManagerRegistry $registry) /** * @throws NonUniqueResultException - * @throws NoResultException */ public function countAll(): int { diff --git a/src/Repository/PageRepository.php b/src/Repository/PageRepository.php index d1808064..9afbc3bf 100644 --- a/src/Repository/PageRepository.php +++ b/src/Repository/PageRepository.php @@ -8,7 +8,6 @@ use App\Entity\Settings; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\ORM\NonUniqueResultException; -use Doctrine\ORM\NoResultException; use Doctrine\ORM\Query; use Doctrine\Persistence\ManagerRegistry; use Knp\Component\Pager\Pagination\PaginationInterface; @@ -30,7 +29,6 @@ public function __construct(ManagerRegistry $registry, private readonly Paginato /** * @throws NonUniqueResultException - * @throws NoResultException */ public function countAll(): int { diff --git a/src/Repository/PropertyRepository.php b/src/Repository/PropertyRepository.php index fb95a6b4..0b4821ba 100644 --- a/src/Repository/PropertyRepository.php +++ b/src/Repository/PropertyRepository.php @@ -8,7 +8,6 @@ use App\Entity\Settings; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\ORM\NonUniqueResultException; -use Doctrine\ORM\NoResultException; use Doctrine\ORM\Query; use Doctrine\Persistence\ManagerRegistry; use Knp\Component\Pager\Pagination\PaginationInterface; @@ -43,7 +42,6 @@ public function findAllPublished(): array /** * @throws NonUniqueResultException - * @throws NoResultException */ public function countAll(): int { diff --git a/src/Repository/UserRepository.php b/src/Repository/UserRepository.php index 34c38857..7bc9b0e5 100644 --- a/src/Repository/UserRepository.php +++ b/src/Repository/UserRepository.php @@ -7,7 +7,6 @@ use App\Entity\User; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\ORM\NonUniqueResultException; -use Doctrine\ORM\NoResultException; use Doctrine\Persistence\ManagerRegistry; /** @@ -25,7 +24,6 @@ public function __construct(ManagerRegistry $registry) /** * @throws NonUniqueResultException - * @throws NoResultException */ public function countAll(): int {