diff options
Diffstat (limited to 'src/Wallabag/AnnotationBundle/Controller')
-rw-r--r-- | src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php b/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php index b04c0bc2..519fd2f5 100644 --- a/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php +++ b/src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php | |||
@@ -5,7 +5,6 @@ namespace Wallabag\AnnotationBundle\Controller; | |||
5 | use FOS\RestBundle\Controller\FOSRestController; | 5 | use FOS\RestBundle\Controller\FOSRestController; |
6 | use Symfony\Component\HttpFoundation\JsonResponse; | 6 | use Symfony\Component\HttpFoundation\JsonResponse; |
7 | use Symfony\Component\HttpFoundation\Request; | 7 | use Symfony\Component\HttpFoundation\Request; |
8 | use Symfony\Component\HttpFoundation\Response; | ||
9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
10 | use Wallabag\AnnotationBundle\Entity\Annotation; | 9 | use Wallabag\AnnotationBundle\Entity\Annotation; |
11 | use Wallabag\CoreBundle\Entity\Entry; | 10 | use Wallabag\CoreBundle\Entity\Entry; |
@@ -39,10 +38,11 @@ class WallabagAnnotationController extends FOSRestController | |||
39 | * Creates a new annotation. | 38 | * Creates a new annotation. |
40 | * | 39 | * |
41 | * @param Request $request | 40 | * @param Request $request |
42 | * @param Entry $entry | 41 | * @param Entry $entry |
42 | * | ||
43 | * @return JsonResponse | 43 | * @return JsonResponse |
44 | * @see Wallabag\ApiBundle\Controller\WallabagRestController | ||
45 | * | 44 | * |
45 | * @see Wallabag\ApiBundle\Controller\WallabagRestController | ||
46 | */ | 46 | */ |
47 | public function postAnnotationAction(Request $request, Entry $entry) | 47 | public function postAnnotationAction(Request $request, Entry $entry) |
48 | { | 48 | { |
@@ -78,7 +78,8 @@ class WallabagAnnotationController extends FOSRestController | |||
78 | * @ParamConverter("annotation", class="WallabagAnnotationBundle:Annotation") | 78 | * @ParamConverter("annotation", class="WallabagAnnotationBundle:Annotation") |
79 | * | 79 | * |
80 | * @param Annotation $annotation | 80 | * @param Annotation $annotation |
81 | * @param Request $request | 81 | * @param Request $request |
82 | * | ||
82 | * @return JsonResponse | 83 | * @return JsonResponse |
83 | */ | 84 | */ |
84 | public function putAnnotationAction(Annotation $annotation, Request $request) | 85 | public function putAnnotationAction(Annotation $annotation, Request $request) |
@@ -105,6 +106,7 @@ class WallabagAnnotationController extends FOSRestController | |||
105 | * @ParamConverter("annotation", class="WallabagAnnotationBundle:Annotation") | 106 | * @ParamConverter("annotation", class="WallabagAnnotationBundle:Annotation") |
106 | * | 107 | * |
107 | * @param Annotation $annotation | 108 | * @param Annotation $annotation |
109 | * | ||
108 | * @return JsonResponse | 110 | * @return JsonResponse |
109 | */ | 111 | */ |
110 | public function deleteAnnotationAction(Annotation $annotation) | 112 | public function deleteAnnotationAction(Annotation $annotation) |