From 0834cfe456749ba981a18fb2c7af5417ba434ab8 Mon Sep 17 00:00:00 2001
From: Marko <52066939+HeX87@users.noreply.github.com>
Date: Thu, 14 Mar 2024 13:16:17 +0100
Subject: [PATCH] increase speed

---
 src/Repository/ProductRepository.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)')