X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/7a0be510744f8f8abec3b9eb6e4d389e86949602..118fc8a9aab25928ded9316835b4597eda2f8326:/Repository/SnippetRepository.php diff --git a/Repository/SnippetRepository.php b/Repository/SnippetRepository.php index 2da863e..3d53487 100644 --- a/Repository/SnippetRepository.php +++ b/Repository/SnippetRepository.php @@ -25,7 +25,7 @@ class SnippetRepository extends \Doctrine\ORM\EntityRepository { public function findByUserIdLocaleIndexByLocationId(int $userId, string $locale): array { //Fetch snippets $ret = $this->_em - ->createQuery('SELECT s FROM RapsysAirBundle:Snippet s INDEX BY s.location WHERE s.locale = :locale and s.user = :user') + ->createQuery('SELECT s FROM Rapsys\AirBundle\Entity\Snippet s INDEX BY s.location WHERE s.locale = :locale and s.user = :user') ->setParameter('user', $userId) ->setParameter('locale', $locale) ->getResult();