@@ -2145,7 +2145,7 @@ discard block |
||
| 2145 | 2145 | * |
| 2146 | 2146 | * @param string $context |
| 2147 | 2147 | * |
| 2148 | - * @return array |
|
| 2148 | + * @return string[] |
|
| 2149 | 2149 | */ |
| 2150 | 2150 | public function getPermissionsShow($context) |
| 2151 | 2151 | { |
@@ -2389,7 +2389,7 @@ discard block |
||
| 2389 | 2389 | /** |
| 2390 | 2390 | * Set custom per page options. |
| 2391 | 2391 | * |
| 2392 | - * @param array $options |
|
| 2392 | + * @param integer[] $options |
|
| 2393 | 2393 | */ |
| 2394 | 2394 | public function setPerPageOptions(array $options) |
| 2395 | 2395 | { |
@@ -18,9 +18,6 @@ |
||
| 18 | 18 | use Sonata\AdminBundle\Util\FormViewIterator; |
| 19 | 19 | use Symfony\Component\Form\FormBuilderInterface; |
| 20 | 20 | use Symfony\Component\Form\FormView; |
| 21 | -use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException; |
|
| 22 | -use Symfony\Component\PropertyAccess\Exception\UnexpectedTypeException; |
|
| 23 | -use Symfony\Component\PropertyAccess\PropertyAccessorInterface; |
|
| 24 | 21 | |
| 25 | 22 | /** |
| 26 | 23 | * @author Thomas Rabaix <[email protected]> |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use Symfony\Component\DependencyInjection\ChildDefinition; |
| 17 | 17 | use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; |
| 18 | 18 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 19 | -use Symfony\Component\DependencyInjection\ContainerInterface; |
|
| 20 | 19 | use Symfony\Component\DependencyInjection\Definition; |
| 21 | 20 | use Symfony\Component\DependencyInjection\DefinitionDecorator; |
| 22 | 21 | use Symfony\Component\DependencyInjection\Reference; |
@@ -33,7 +33,6 @@ |
||
| 33 | 33 | use Symfony\Component\HttpFoundation\Session\Session; |
| 34 | 34 | use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; |
| 35 | 35 | use Symfony\Component\HttpKernel\Exception\HttpException; |
| 36 | -use Symfony\Component\HttpKernel\Kernel; |
|
| 37 | 36 | use Symfony\Component\HttpKernel\KernelInterface; |
| 38 | 37 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
| 39 | 38 | use Symfony\Component\Security\Csrf\CsrfToken; |