@@ -1154,6 +1154,8 @@ discard block |
||
1154 | 1154 | |
1155 | 1155 | /** |
1156 | 1156 | * {@inheritdoc} |
1157 | + * @param string $name |
|
1158 | + * @param string $adminCode |
|
1157 | 1159 | */ |
1158 | 1160 | public function isCurrentRoute($name, $adminCode = null) |
1159 | 1161 | { |
@@ -2482,7 +2484,7 @@ discard block |
||
2482 | 2484 | * |
2483 | 2485 | * @param string $context |
2484 | 2486 | * |
2485 | - * @return array |
|
2487 | + * @return string[] |
|
2486 | 2488 | */ |
2487 | 2489 | public function getPermissionsShow($context) |
2488 | 2490 | { |
@@ -2725,7 +2727,7 @@ discard block |
||
2725 | 2727 | /** |
2726 | 2728 | * Set custom per page options. |
2727 | 2729 | * |
2728 | - * @param array $options |
|
2730 | + * @param integer[] $options |
|
2729 | 2731 | */ |
2730 | 2732 | public function setPerPageOptions(array $options) |
2731 | 2733 | { |
@@ -2887,6 +2889,7 @@ discard block |
||
2887 | 2889 | |
2888 | 2890 | /** |
2889 | 2891 | * {@inheritdoc} |
2892 | + * @param string $action |
|
2890 | 2893 | */ |
2891 | 2894 | public function configureActionButtons($action, $object = null) |
2892 | 2895 | { |
@@ -3018,7 +3021,6 @@ discard block |
||
3018 | 3021 | } |
3019 | 3022 | |
3020 | 3023 | /** |
3021 | - * @param FormMapper $form |
|
3022 | 3024 | */ |
3023 | 3025 | final public function getSearchResultLink($object) |
3024 | 3026 | { |
@@ -17,7 +17,6 @@ discard block |
||
17 | 17 | use Sonata\AdminBundle\Admin\AbstractAdmin; |
18 | 18 | use Sonata\AdminBundle\Admin\FieldDescriptionCollection; |
19 | 19 | use Sonata\AdminBundle\Admin\Pool; |
20 | -use Sonata\AdminBundle\Bridge\Exporter\AdminExporter; |
|
21 | 20 | use Sonata\AdminBundle\Controller\CRUDController; |
22 | 21 | use Sonata\AdminBundle\Exception\LockException; |
23 | 22 | use Sonata\AdminBundle\Exception\ModelManagerException; |
@@ -34,7 +33,6 @@ discard block |
||
34 | 33 | use Symfony\Component\HttpFoundation\Session\Session; |
35 | 34 | use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; |
36 | 35 | use Symfony\Component\HttpKernel\Exception\HttpException; |
37 | -use Symfony\Component\HttpKernel\Kernel; |
|
38 | 36 | use Symfony\Component\HttpKernel\KernelInterface; |
39 | 37 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
40 | 38 | use Symfony\Component\Security\Csrf\CsrfToken; |