@@ -16,7 +16,7 @@ |
||
16 | 16 | * @Security("has_role('ROLE_ADMIN')") |
17 | 17 | * |
18 | 18 | * @param Application $app |
19 | - * @return \Symfony\Component\HttpFoundation\Response |
|
19 | + * @return string |
|
20 | 20 | */ |
21 | 21 | public function testAdmin(Application $app) |
22 | 22 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Acme\Controller; |
4 | 4 | |
5 | 5 | use Eccube\Application; |
6 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Cache; |
|
7 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; |
9 | 8 |
@@ -4,13 +4,10 @@ |
||
4 | 4 | use Eccube\Application; |
5 | 5 | use Symfony\Component\HttpFoundation\Response; |
6 | 6 | use Symfony\Component\HttpFoundation\Request; |
7 | -use Symfony\Component\HttpFoundation\ParameterBag; |
|
8 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Cache; |
|
9 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
10 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
11 | 9 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security; |
12 | 10 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
13 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; |
|
14 | 11 | |
15 | 12 | /** |
16 | 13 | * @Route("/test") |