forked from wallabag/wallabag
fix cs and phpdoc
This commit is contained in:
committed by
Jeremy Benoist
parent
b1e92f8c14
commit
0c271b9eb0
@ -27,7 +27,7 @@ class WallabagAnnotationController extends FOSRestController
|
||||
->getRepository('WallabagAnnotationBundle:Annotation')
|
||||
->findAnnotationsByPageId($entry->getId(), $this->getUser()->getId());
|
||||
$total = count($annotationRows);
|
||||
$annotations = array('total' => $total, 'rows' => $annotationRows);
|
||||
$annotations = ['total' => $total, 'rows' => $annotationRows];
|
||||
|
||||
$json = $this->get('serializer')->serialize($annotations, 'json');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user