mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
fix error in commit
This commit is contained in:
@@ -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 "
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user