]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Repository/SnippetRepository.php
Replace dropped calls with checker, factory and security replacements
[airbundle] / Repository / SnippetRepository.php
index 2da863e1ff66af6f5dacfa79d7fdbd639deffa8f..3d53487c22901fd3089dd1fd5bee8cb3c3241c2e 100644 (file)
@@ -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();