@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * Returns the initial HTML view for the admin interface. |
27 | 27 | * |
28 | 28 | * @param Request $request Symfony request object |
29 | - * @return Response Generated HTML page for the admin interface |
|
29 | + * @return \Symfony\Component\HttpFoundation\Response Generated HTML page for the admin interface |
|
30 | 30 | */ |
31 | 31 | public function indexAction( Request $request ) |
32 | 32 | { |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | /** |
59 | 59 | * Checks if the used is authenticated and has the admin role |
60 | 60 | * |
61 | - * @param array $roles List of role names where at least one must match |
|
61 | + * @param string[] $roles List of role names where at least one must match |
|
62 | 62 | * @return boolean True if authenticated and is admin, false if not |
63 | 63 | */ |
64 | 64 | protected function hasRole( array $roles ) |