Completed
Pull Request — 2.3 (#521)
by Grégoire
32:27
created
Filter/ClassFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     /**
45 45
      * @param int $type
46 46
      *
47
-     * @return mixed
47
+     * @return string|false
48 48
      */
49 49
     private function getOperator($type)
50 50
     {
Please login to merge, or discard this patch.
Filter/StringFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     /**
54 54
      * @param string $type
55 55
      *
56
-     * @return bool
56
+     * @return string|false
57 57
      */
58 58
     private function getOperator($type)
59 59
     {
Please login to merge, or discard this patch.
Model/ModelManager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -618,7 +618,7 @@
 block discarded – undo
618 618
      *
619 619
      * @param string $property
620 620
      *
621
-     * @return mixed
621
+     * @return string
622 622
      */
623 623
     protected function camelize($property)
624 624
     {
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -15,19 +15,15 @@
 block discarded – undo
15 15
 use Doctrine\ORM\EntityManager;
16 16
 use Sonata\DoctrineORMAdminBundle\Admin\FieldDescription;
17 17
 use Sonata\DoctrineORMAdminBundle\Datagrid\ProxyQuery;
18
-
19 18
 use Sonata\AdminBundle\Model\ModelManagerInterface;
20 19
 use Sonata\AdminBundle\Admin\FieldDescriptionInterface;
21 20
 use Sonata\AdminBundle\Datagrid\DatagridInterface;
22 21
 use Sonata\AdminBundle\Datagrid\ProxyQueryInterface;
23 22
 use Sonata\AdminBundle\Exception\ModelManagerException;
24
-
25 23
 use Doctrine\ORM\QueryBuilder;
26 24
 use Doctrine\DBAL\DBALException;
27
-
28 25
 use Symfony\Component\Form\Exception\PropertyAccessDeniedException;
29 26
 use Symfony\Bridge\Doctrine\RegistryInterface;
30
-
31 27
 use Exporter\Source\DoctrineORMQuerySourceIterator;
32 28
 
33 29
 class ModelManager implements ModelManagerInterface
Please login to merge, or discard this patch.
Filter/NumberFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     /**
54 54
      * @param string $type
55 55
      *
56
-     * @return bool
56
+     * @return string|false
57 57
      */
58 58
     private function getOperator($type)
59 59
     {
Please login to merge, or discard this patch.
Block/AuditBlockService.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -14,13 +14,10 @@
 block discarded – undo
14 14
 use Sonata\BlockBundle\Block\BlockContextInterface;
15 15
 use Symfony\Component\HttpFoundation\Response;
16 16
 use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface;
17
-
18 17
 use Sonata\AdminBundle\Form\FormMapper;
19 18
 use Sonata\AdminBundle\Validator\ErrorElement;
20
-
21 19
 use Sonata\BlockBundle\Model\BlockInterface;
22 20
 use Sonata\BlockBundle\Block\BaseBlockService;
23
-
24 21
 use SimpleThings\EntityAudit\AuditReader;
25 22
 use Symfony\Component\OptionsResolver\OptionsResolverInterface;
26 23
 
Please login to merge, or discard this patch.
Builder/DatagridBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use Sonata\AdminBundle\Builder\DatagridBuilderInterface;
19 19
 use Sonata\AdminBundle\Guesser\TypeGuesserInterface;
20 20
 use Sonata\AdminBundle\Filter\FilterFactoryInterface;
21
-
22 21
 use Sonata\DoctrineORMAdminBundle\Datagrid\Pager;
23 22
 use Symfony\Component\Form\FormFactory;
24 23
 
Please login to merge, or discard this patch.
Builder/FormContractor.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -14,13 +14,9 @@
 block discarded – undo
14 14
 use Sonata\AdminBundle\Admin\AdminInterface;
15 15
 use Sonata\AdminBundle\Admin\FieldDescriptionInterface;
16 16
 use Sonata\AdminBundle\Builder\FormContractorInterface;
17
-
18 17
 use Symfony\Component\Form\FormFactoryInterface;
19
-
20 18
 use Doctrine\ORM\Mapping\ClassMetadataInfo;
21 19
 
22
-use Sonata\DoctrineORMAdminBundle\Admin\FieldDescription;
23
-
24 20
 class FormContractor implements FormContractorInterface
25 21
 {
26 22
     protected $fieldFactory;
Please login to merge, or discard this patch.
Builder/ListBuilder.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 Sonata\AdminBundle\Admin\FieldDescriptionCollection;
17 17
 use Sonata\AdminBundle\Builder\ListBuilderInterface;
18 18
 use Sonata\AdminBundle\Guesser\TypeGuesserInterface;
19
-
20 19
 use Doctrine\ORM\Mapping\ClassMetadataInfo;
21 20
 
22 21
 class ListBuilder implements ListBuilderInterface
Please login to merge, or discard this patch.
Builder/ShowBuilder.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 Sonata\AdminBundle\Admin\FieldDescriptionCollection;
17 17
 use Sonata\AdminBundle\Builder\ShowBuilderInterface;
18 18
 use Sonata\AdminBundle\Guesser\TypeGuesserInterface;
19
-
20 19
 use Doctrine\ORM\Mapping\ClassMetadataInfo;
21 20
 
22 21
 class ShowBuilder implements ShowBuilderInterface
Please login to merge, or discard this patch.