From a4caf733f16d615f3e091707f2c605101754c4eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 16 May 2022 13:12:40 +0200 Subject: [PATCH] fix error in commit --- .../Repository/LocationRepository.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Repository/LocationRepository.php b/src/Bundle/ChillMainBundle/Repository/LocationRepository.php index 26c338d39..845275bd7 100644 --- a/src/Bundle/ChillMainBundle/Repository/LocationRepository.php +++ b/src/Bundle/ChillMainBundle/Repository/LocationRepository.php @@ -38,18 +38,4 @@ class LocationRepository extends ServiceEntityRepository { return $this->findBy(['active' => true, 'availableForUsers' => true]); } - - /** - * fetch location by name - * - * @return array|Location[] - */ - public function findByName(string $name, string $lang): array - { - $rsm = new ResultSetMappingBuilder($this->getEntityManager()); - $rsm->addRootEntityFromClassMetadata(Location::class); - - $sql = "SELECT " - - } }