diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2019-05-29 14:40:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-29 14:40:01 +0200 |
commit | ecd54aa57ee769121374954b5e6c810d1c1e1171 (patch) | |
tree | 297e753bf38491cdce4360372ce298ab8060f3b6 /src/Wallabag/ApiBundle/Controller/WallabagRestController.php | |
parent | e9579d6de9ea99522e5905e8bb827e858c8da1fc (diff) | |
parent | 52e8d93248c6f47ccb98abc973fcd230b29fee6c (diff) | |
download | wallabag-ecd54aa57ee769121374954b5e6c810d1c1e1171.tar.gz wallabag-ecd54aa57ee769121374954b5e6c810d1c1e1171.tar.zst wallabag-ecd54aa57ee769121374954b5e6c810d1c1e1171.zip |
Merge pull request #3986 from wallabag/fix/scrutinizer-issues
Fix some Scrutinizer issues
Diffstat (limited to 'src/Wallabag/ApiBundle/Controller/WallabagRestController.php')
-rw-r--r-- | src/Wallabag/ApiBundle/Controller/WallabagRestController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php index f18b0910..44fd9683 100644 --- a/src/Wallabag/ApiBundle/Controller/WallabagRestController.php +++ b/src/Wallabag/ApiBundle/Controller/WallabagRestController.php | |||
@@ -2,13 +2,13 @@ | |||
2 | 2 | ||
3 | namespace Wallabag\ApiBundle\Controller; | 3 | namespace Wallabag\ApiBundle\Controller; |
4 | 4 | ||
5 | use FOS\RestBundle\Controller\FOSRestController; | 5 | use FOS\RestBundle\Controller\AbstractFOSRestController; |
6 | use JMS\Serializer\SerializationContext; | 6 | use JMS\Serializer\SerializationContext; |
7 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; | 7 | use Nelmio\ApiDocBundle\Annotation\ApiDoc; |
8 | use Symfony\Component\HttpFoundation\JsonResponse; | 8 | use Symfony\Component\HttpFoundation\JsonResponse; |
9 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; | 9 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
10 | 10 | ||
11 | class WallabagRestController extends FOSRestController | 11 | class WallabagRestController extends AbstractFOSRestController |
12 | { | 12 | { |
13 | /** | 13 | /** |
14 | * Retrieve version number. | 14 | * Retrieve version number. |