diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-06-01 10:29:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-01 10:29:32 +0200 |
commit | 5d03e2d1a58d7961aeb3b93dbd864731719af921 (patch) | |
tree | 702aa580c60c788ee51ace0ed79409491854c825 /src/Wallabag/CoreBundle/Controller/TagController.php | |
parent | 2a0eec07a5630401a9ceb7add65604f79238f10c (diff) | |
parent | 3a6af6c580b686593045a8f0cfbfc478aa93943c (diff) | |
download | wallabag-5d03e2d1a58d7961aeb3b93dbd864731719af921.tar.gz wallabag-5d03e2d1a58d7961aeb3b93dbd864731719af921.tar.zst wallabag-5d03e2d1a58d7961aeb3b93dbd864731719af921.zip |
Merge pull request #3172 from wallabag/more-scruti
More Scrutinizer issues fixed
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/TagController.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/TagController.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/TagController.php b/src/Wallabag/CoreBundle/Controller/TagController.php index 736eb1dc..9422bae4 100644 --- a/src/Wallabag/CoreBundle/Controller/TagController.php +++ b/src/Wallabag/CoreBundle/Controller/TagController.php | |||
@@ -125,8 +125,7 @@ class TagController extends Controller | |||
125 | 125 | ||
126 | $pagerAdapter = new ArrayAdapter($entriesByTag); | 126 | $pagerAdapter = new ArrayAdapter($entriesByTag); |
127 | 127 | ||
128 | $entries = $this->get('wallabag_core.helper.prepare_pager_for_entries') | 128 | $entries = $this->get('wallabag_core.helper.prepare_pager_for_entries')->prepare($pagerAdapter); |
129 | ->prepare($pagerAdapter, $page); | ||
130 | 129 | ||
131 | try { | 130 | try { |
132 | $entries->setCurrentPage($page); | 131 | $entries->setCurrentPage($page); |