diff --git a/src/Repository/ProductRepository.php b/src/Repository/ProductRepository.php index eedd895..a2cc408 100644 --- a/src/Repository/ProductRepository.php +++ b/src/Repository/ProductRepository.php @@ -50,7 +50,7 @@ class ProductRepository extends ServiceEntityRepository /** * @return Product[] Returns an array of Product objects */ - public function findById(int $value): array + public function findById($value): array { return $this->createQueryBuilder('p') ->andWhere('p.id IN (:val)')