aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/AnnotationBundle/Controller
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-10-09 14:01:28 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-10-22 09:06:07 +0200
commit0c271b9eb0813162b82c6b3bc38604716398ddd1 (patch)
tree0739a26c4e2a973013d4d38bcd2e8075f19d6093 /src/Wallabag/AnnotationBundle/Controller
parentb1e92f8c14d3d506f2bfab628ba8ed95de0e8b51 (diff)
downloadwallabag-0c271b9eb0813162b82c6b3bc38604716398ddd1.tar.gz
wallabag-0c271b9eb0813162b82c6b3bc38604716398ddd1.tar.zst
wallabag-0c271b9eb0813162b82c6b3bc38604716398ddd1.zip
fix cs and phpdoc
Diffstat (limited to 'src/Wallabag/AnnotationBundle/Controller')
-rw-r--r--src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php b/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php
index 519fd2f5..c13a034f 100644
--- a/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php
+++ b/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php
@@ -27,7 +27,7 @@ class WallabagAnnotationController extends FOSRestController
27 ->getRepository('WallabagAnnotationBundle:Annotation') 27 ->getRepository('WallabagAnnotationBundle:Annotation')
28 ->findAnnotationsByPageId($entry->getId(), $this->getUser()->getId()); 28 ->findAnnotationsByPageId($entry->getId(), $this->getUser()->getId());
29 $total = count($annotationRows); 29 $total = count($annotationRows);
30 $annotations = array('total' => $total, 'rows' => $annotationRows); 30 $annotations = ['total' => $total, 'rows' => $annotationRows];
31 31
32 $json = $this->get('serializer')->serialize($annotations, 'json'); 32 $json = $this->get('serializer')->serialize($annotations, 'json');
33 33