X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FRepository%2FEntryRepository.php;h=bedc90d2b71060a9a3b9dde51a41f8404797aa77;hb=eb3bd7efb73f2e8500b6415e16438cea77aa4e9a;hp=1805cf3f4b1b3bfdf284a2517234e7f84c02ebff;hpb=2c0ffcf3972e2f58267b805a26835f452e016761;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php index 1805cf3f..bedc90d2 100644 --- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php @@ -2,7 +2,6 @@ namespace Wallabag\CoreBundle\Repository; -use Doctrine\ORM\Query; use Doctrine\ORM\EntityRepository; use Doctrine\ORM\Tools\Pagination\Paginator; @@ -98,7 +97,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 +125,6 @@ class EntryRepository extends EntityRepository return $qb ->getQuery() - ->getResult(Query::HYDRATE_ARRAY); + ->getResult(); } }