Completed
Pull Request — master (#4669)
by Jordi Sala
03:32
created
Admin/AbstractAdmin.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2145,7 +2145,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Admin/AdminHelper.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,6 @@
 block discarded – undo
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]>
Please login to merge, or discard this patch.
DependencyInjection/Compiler/AddDependencyCallsCompilerPass.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Tests/Controller/CRUDControllerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.