@@ -113,7 +113,7 @@ |
||
113 | 113 | /** |
114 | 114 | * @Route("/choice", bind="comestible_choice", method="GET") |
115 | 115 | * @param Request $request |
116 | - * @return RedirectResponse |
|
116 | + * @return JsonResponse |
|
117 | 117 | */ |
118 | 118 | public function choiceAction(Request $request) |
119 | 119 | { |
@@ -21,7 +21,6 @@ |
||
21 | 21 | use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
22 | 22 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
23 | 23 | use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface; |
24 | -use Symfony\Component\Security\Core\SecurityContextInterface; |
|
25 | 24 | |
26 | 25 | /** |
27 | 26 | * @Route("/{_locale}/comestible", asserts={"_locale"="([a-z]{2}|[a-z]{2}_[A-Z]{2})"}) |
@@ -86,7 +86,7 @@ |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | /** |
89 | - * @return array |
|
89 | + * @return User[] |
|
90 | 90 | */ |
91 | 91 | public function getSecurityRelatedObjects() |
92 | 92 | { |