aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Twig/WallabagExtension.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php
index d6ac6117..974b86a9 100644
--- a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php
+++ b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php
@@ -36,9 +36,9 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa
36 } 36 }
37 37
38 /** 38 /**
39 * Return number of entries depending of the type (unread, archive, starred or all) 39 * Return number of entries depending of the type (unread, archive, starred or all).
40 * 40 *
41 * @param string $type Type of entries to count 41 * @param string $type Type of entries to count
42 * 42 *
43 * @return int 43 * @return int
44 */ 44 */
@@ -78,7 +78,7 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa
78 ->groupBy('e.id') 78 ->groupBy('e.id')
79 ->getQuery(); 79 ->getQuery();
80 80
81 $data =$this->repository 81 $data = $this->repository
82 ->enableCache($query) 82 ->enableCache($query)
83 ->getArrayResult(); 83 ->getArrayResult();
84 84