]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ApiBundle/Controller/WallabagRestController.php
cs
[github/wallabag/wallabag.git] / src / Wallabag / ApiBundle / Controller / WallabagRestController.php
index e2e4924b6ef50d8d391f7e83d0c098b07a795123..b30ab267564740f2d6fe59cffdc27f458abb5b83 100644 (file)
@@ -529,6 +529,7 @@ class WallabagRestController extends FOSRestController
      * )
      *
      * @param Entry $entry
+     *
      * @return JsonResponse
      */
     public function getAnnotationsAction(Entry $entry)
@@ -537,8 +538,9 @@ class WallabagRestController extends FOSRestController
 
         $response = $this->forward('WallabagApiBundle:WallabagRest:getAnnotations',
             [
-                'entry' => $entry
+                'entry' => $entry,
             ]);
+
         return $response;
     }
 
@@ -546,7 +548,8 @@ class WallabagRestController extends FOSRestController
      * Creates a new annotation.
      *
      * @param Request $request
-     * @param Entry $entry
+     * @param Entry   $entry
+     *
      * @return JsonResponse
      * @ApiDoc(
      *      requirements={
@@ -555,7 +558,6 @@ class WallabagRestController extends FOSRestController
      *          {"name"="text", "dataType"="string", "required"=true, "description"=""},
      *      }
      * )
-     *
      */
     public function postAnnotationAction(Request $request, Entry $entry)
     {
@@ -564,8 +566,9 @@ class WallabagRestController extends FOSRestController
         $response = $this->forward('WallabagApiBundle:WallabagRest:postAnnotation',
             [
                 'request' => $request,
-                'entry' => $entry
+                'entry' => $entry,
             ]);
+
         return $response;
     }
 
@@ -581,7 +584,8 @@ class WallabagRestController extends FOSRestController
      * @ParamConverter("annotation", class="WallabagAnnotationBundle:Annotation")
      *
      * @param Annotation $annotation
-     * @param Request $request
+     * @param Request    $request
+     *
      * @return JsonResponse
      */
     public function putAnnotationAction(Annotation $annotation, Request $request)
@@ -591,8 +595,9 @@ class WallabagRestController extends FOSRestController
         $response = $this->forward('WallabagApiBundle:WallabagRest:putAnnotation',
             [
                 'annotation' => $annotation,
-                'request' => $request
+                'request' => $request,
             ]);
+
         return $response;
     }
 
@@ -608,6 +613,7 @@ class WallabagRestController extends FOSRestController
      * @ParamConverter("annotation", class="WallabagAnnotationBundle:Annotation")
      *
      * @param Annotation $annotation
+     *
      * @return JsonResponse
      */
     public function deleteAnnotationAction(Annotation $annotation)
@@ -618,6 +624,7 @@ class WallabagRestController extends FOSRestController
             [
                 'annotation' => $annotation,
             ]);
+
         return $response;
     }