]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Repository/EntryRepository.php
Merge pull request #1069 from wallabag/v2-fix-return-entries
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Repository / EntryRepository.php
index 1805cf3f4b1b3bfdf284a2517234e7f84c02ebff..b6f86707046f72b73b676768d1a1b2640bd97daa 100644 (file)
@@ -98,7 +98,7 @@ class EntryRepository extends EntityRepository
      * @param string $sort
      * @param string $order
      *
-     * @return ArrayCollection
+     * @return array
      */
     public function findEntries($userId, $isArchived = null, $isStarred = null, $isDeleted = null, $sort = 'created', $order = 'ASC')
     {
@@ -126,6 +126,6 @@ class EntryRepository extends EntityRepository
 
         return $qb
             ->getQuery()
-            ->getResult(Query::HYDRATE_ARRAY);
+            ->getResult();
     }
 }