Completed
Push — master ( 468850...c98472 )
by
unknown
54:13
created
src/Oro/Bundle/DataGridBundle/Extension/Export/ExportExtension.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,11 +3,8 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\DataGridBundle\Extension\Export;
4 4
 
5 5
 use Symfony\Component\Translation\TranslatorInterface;
6
-
7 6
 use Oro\Bundle\DataGridBundle\Extension\AbstractExtension;
8
-use Oro\Bundle\DataGridBundle\Datagrid\Common\MetadataObject;
9 7
 use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration;
10
-use Oro\Bundle\DataGridBundle\Extension\Toolbar\ToolbarExtension;
11 8
 
12 9
 class ExportExtension extends AbstractExtension
13 10
 {
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Extension/Formatter/Configuration.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     protected $root;
23 23
 
24 24
     /**
25
-     * @param        $types
25
+     * @param        integer[] $types
26 26
      * @param string $root
27 27
      */
28 28
     public function __construct($types, $root)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Oro\Component\PropertyAccess\Tests\Unit;
4 4
 
5 5
 use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
6
-
7 6
 use Oro\Component\PropertyAccess\PropertyAccessor;
8 7
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass;
9 8
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall;
Please login to merge, or discard this patch.
DataGridBundle/Extension/InlineEditing/InlineEditColumnOptionsGuesser.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\DataGridBundle\Extension\InlineEditing;
4 4
 
5 5
 use Symfony\Component\Validator\Mapping\ClassMetadataInterface;
6
-use Symfony\Component\Validator\PropertyMetadataContainerInterface;
7 6
 use Symfony\Component\Validator\Validator\ValidatorInterface;
8
-
9 7
 use Oro\Bundle\DataGridBundle\Extension\InlineEditing\InlineEditColumnOptions\GuesserInterface;
10 8
 
11 9
 /**
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Extension/Pager/OrmPagerExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
      * @param string $paramName
140 140
      * @param mixed $default
141 141
      *
142
-     * @return mixed
142
+     * @return integer
143 143
      */
144 144
     protected function getOr($paramName, $default = null)
145 145
     {
Please login to merge, or discard this patch.
Bundle/DataGridBundle/Tests/Unit/Datagrid/ColumnOptionsGuesserChainTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -72,6 +72,9 @@
 block discarded – undo
72 72
         $this->doTestGuess('guessFilter');
73 73
     }
74 74
 
75
+    /**
76
+     * @param string $guessMethodName
77
+     */
75 78
     public function doTestGuess($guessMethodName)
76 79
     {
77 80
         $class    = 'TestClass';
Please login to merge, or discard this patch.
Oro/Bundle/DataGridBundle/Tests/Unit/Datasource/Orm/OrmDatasourceTest.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -99,6 +99,9 @@
 block discarded – undo
99 99
         );
100 100
     }
101 101
 
102
+    /**
103
+     * @param string $entityClass
104
+     */
102 105
     protected function prepareEntityManagerForTestHints($entityClass)
103 106
     {
104 107
         $connection = $this->getMockBuilder('Doctrine\DBAL\Connection')
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\EventManager;
6 6
 use Doctrine\DBAL\Driver\Connection;
7
-
8 7
 use Symfony\Component\Filesystem\Filesystem;
9
-
10 8
 use Oro\Component\TestUtils\ORM\Mocks\DriverMock;
11 9
 use Oro\Component\TestUtils\ORM\Mocks\EntityManagerMock;
12 10
 
Please login to merge, or discard this patch.
Tests/Unit/Extension/InlineEditing/InlineEditingExtensionTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -134,6 +134,9 @@
 block discarded – undo
134 134
         $this->assertEquals($config->offsetGet($key), $expectedResult->offsetGet($key));
135 135
     }
136 136
 
137
+    /**
138
+     * @param string $entityName
139
+     */
137 140
     protected function getProcessConfigsExpectedValues($entityName)
138 141
     {
139 142
         return [
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Twig/DataGridExtension.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      * Generate grid element id.
125 125
      *
126 126
      * @param DatagridInterface $grid
127
-     * @return array
127
+     * @return string
128 128
      */
129 129
     public function generateGridElementId(DatagridInterface $grid)
130 130
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      *
143 143
      * @param string $name
144 144
      * @param string $scope
145
-     * @return array
145
+     * @return string
146 146
      */
147 147
     public function buildGridFullName($name, $scope)
148 148
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\EventManager;
6 6
 use Doctrine\DBAL\Driver\Connection;
7
-
8 7
 use Symfony\Component\Filesystem\Filesystem;
9
-
10 8
 use Oro\Component\TestUtils\ORM\Mocks\DriverMock;
11 9
 use Oro\Component\TestUtils\ORM\Mocks\EntityManagerMock;
12 10
 
Please login to merge, or discard this patch.
src/Oro/Bundle/DistributionBundle/Controller/PackageController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@
 block discarded – undo
236 236
     /**
237 237
      * @param array $params
238 238
      * @param string $paramName
239
-     * @param mixed $defaultValue
239
+     * @param null|false $defaultValue
240 240
      *
241 241
      * @return mixed
242 242
      */
Please login to merge, or discard this patch.