X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/7a0be510744f8f8abec3b9eb6e4d389e86949602..36367b3d9770a29f2e516e40524c5d4eef8a9aca:/Repository/SnippetRepository.php?ds=inline 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();