Completed
Pull Request — master (#361)
by Ramūnas
37:16
created
Bundle/DataGridBundle/Datasource/Orm/QueryConverter/QueryConfiguration.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
      * @param  string $name Where type ('and', 'or')
99 99
      *
100 100
      * @throws InvalidConfigurationException
101
-     * @return ArrayNodeDefinition
101
+     * @return \Symfony\Component\Config\Definition\Builder\NodeBuilder
102 102
      */
103 103
     protected function addWhereNode($name)
104 104
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/DataGridBundle/Entity/GridView.php 2 patches
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
     /**
179 179
      * @param int $id
180 180
      *
181
-     * @return this
181
+     * @return GridView
182 182
      */
183 183
     public function setId($id)
184 184
     {
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
     /**
191 191
      * @param string $name
192 192
      *
193
-     * @return this
193
+     * @return GridView
194 194
      */
195 195
     public function setName($name)
196 196
     {
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
     /**
203 203
      * @param string $type
204 204
      *
205
-     * @return this
205
+     * @return GridView
206 206
      */
207 207
     public function setType($type)
208 208
     {
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
     /**
215 215
      * @param array $filtersData
216 216
      *
217
-     * @return this
217
+     * @return GridView
218 218
      */
219 219
     public function setFiltersData(array $filtersData = [])
220 220
     {
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
     /**
227 227
      * @param array $sortersData
228 228
      *
229
-     * @return this
229
+     * @return GridView
230 230
      */
231 231
     public function setSortersData(array $sortersData = [])
232 232
     {
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
     /**
255 255
      * @param string $gridName
256 256
      *
257
-     * @return this
257
+     * @return GridView
258 258
      */
259 259
     public function setGridName($gridName)
260 260
     {
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
     /**
267 267
      * @param User $owner
268 268
      *
269
-     * @return this
269
+     * @return GridView
270 270
      */
271 271
     public function setOwner(User $owner = null)
272 272
     {
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
      * Set organization
299 299
      *
300 300
      * @param OrganizationInterface $organization
301
-     * @return User
301
+     * @return GridView
302 302
      */
303 303
     public function setOrganization(OrganizationInterface $organization = null)
304 304
     {
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/DataGridBundle/Extension/Acceptor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
      *
100 100
      * @param DatagridConfiguration $config
101 101
      *
102
-     * @return mixed
102
+     * @return DatagridConfiguration
103 103
      */
104 104
     public function setConfig(DatagridConfiguration $config)
105 105
     {
Please login to merge, or discard this patch.
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.