aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Repository
diff options
context:
space:
mode:
authorJeremy <jeremy.benoist@gmail.com>2015-01-31 19:09:34 +0100
committerJeremy <jeremy.benoist@gmail.com>2015-01-31 19:12:49 +0100
commit7df80cb32ca9b7d0fe452320ddc3563a1e373e2f (patch)
treec07eb79213d471aa33c49ef4e5819e41cc12f242 /src/Wallabag/CoreBundle/Repository
parent1990517b2263a080946853ed697a6d687262ae80 (diff)
downloadwallabag-7df80cb32ca9b7d0fe452320ddc3563a1e373e2f.tar.gz
wallabag-7df80cb32ca9b7d0fe452320ddc3563a1e373e2f.tar.zst
wallabag-7df80cb32ca9b7d0fe452320ddc3563a1e373e2f.zip
CS
Diffstat (limited to 'src/Wallabag/CoreBundle/Repository')
-rw-r--r--src/Wallabag/CoreBundle/Repository/EntriesRepository.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Wallabag/CoreBundle/Repository/EntriesRepository.php b/src/Wallabag/CoreBundle/Repository/EntriesRepository.php
index e63c67e2..d87eb373 100644
--- a/src/Wallabag/CoreBundle/Repository/EntriesRepository.php
+++ b/src/Wallabag/CoreBundle/Repository/EntriesRepository.php
@@ -6,7 +6,6 @@ use Doctrine\ORM\Query;
6use Doctrine\ORM\EntityRepository; 6use Doctrine\ORM\EntityRepository;
7use Doctrine\ORM\Tools\Pagination\Paginator; 7use Doctrine\ORM\Tools\Pagination\Paginator;
8use Wallabag\CoreBundle\Entity\Entries; 8use Wallabag\CoreBundle\Entity\Entries;
9use Wallabag\CoreBundle\Service\Extractor;
10 9
11class EntriesRepository extends EntityRepository 10class EntriesRepository extends EntityRepository
12{ 11{
@@ -15,7 +14,7 @@ class EntriesRepository extends EntityRepository
15 * 14 *
16 * @param $userId 15 * @param $userId
17 * @param $firstResult 16 * @param $firstResult
18 * @param int $maxResults 17 * @param int $maxResults
19 * @return Paginator 18 * @return Paginator
20 */ 19 */
21 public function findUnreadByUser($userId, $firstResult, $maxResults = 12) 20 public function findUnreadByUser($userId, $firstResult, $maxResults = 12)
@@ -38,7 +37,7 @@ class EntriesRepository extends EntityRepository
38 * 37 *
39 * @param $userId 38 * @param $userId
40 * @param $firstResult 39 * @param $firstResult
41 * @param int $maxResults 40 * @param int $maxResults
42 * @return Paginator 41 * @return Paginator
43 */ 42 */
44 public function findArchiveByUser($userId, $firstResult, $maxResults = 12) 43 public function findArchiveByUser($userId, $firstResult, $maxResults = 12)
@@ -61,7 +60,7 @@ class EntriesRepository extends EntityRepository
61 * 60 *
62 * @param $userId 61 * @param $userId
63 * @param $firstResult 62 * @param $firstResult
64 * @param int $maxResults 63 * @param int $maxResults
65 * @return Paginator 64 * @return Paginator
66 */ 65 */
67 public function findStarredByUser($userId, $firstResult, $maxResults = 12) 66 public function findStarredByUser($userId, $firstResult, $maxResults = 12)