mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
php-cs-fixer
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
parent
685a5d745e
commit
2a1ceb67b4
48 changed files with 89 additions and 89 deletions
|
@ -28,7 +28,7 @@ class WallabagAnnotationController extends FOSRestController
|
|||
->getDoctrine()
|
||||
->getRepository('WallabagAnnotationBundle:Annotation')
|
||||
->findAnnotationsByPageId($entry->getId(), $this->getUser()->getId());
|
||||
$total = count($annotationRows);
|
||||
$total = \count($annotationRows);
|
||||
$annotations = ['total' => $total, 'rows' => $annotationRows];
|
||||
|
||||
$json = $this->get('jms_serializer')->serialize($annotations, 'json');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue