Completed
Pull Request — master (#364)
by Sufijen
42:35
created
src/Oro/Bundle/ConfigBundle/Tests/Selenium/Pages/LanguageSettings.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     const URL = '/config/system/platform/language_settings';
15 15
 
16 16
     /**
17
-     * @param $language string
17
+     * @param string $language string
18 18
      * @return $this
19 19
      */
20 20
     public function download($language)
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     }
34 34
 
35 35
     /**
36
-     * @param $language string
36
+     * @param string $language string
37 37
      * @return $this
38 38
      */
39 39
     public function enable($language)
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     }
53 53
 
54 54
     /**
55
-     * @param $language string
55
+     * @param string $language string
56 56
      * @return $this
57 57
      */
58 58
     public function disable($language)
Please login to merge, or discard this patch.
Bundle/ConfigBundle/Tests/Unit/DependencyInjection/SettingsBuilderTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@
 block discarded – undo
85 85
         $this->assertInstanceOf('Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition', $list['value']);
86 86
     }
87 87
 
88
+    /**
89
+     * @param string $field
90
+     */
88 91
     protected function getField($object, $field)
89 92
     {
90 93
         $reflection = new \ReflectionProperty($object, $field);
Please login to merge, or discard this patch.
src/Oro/Bundle/DashboardBundle/Entity/Widget.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     }
88 88
 
89 89
     /**
90
-     * @return array
90
+     * @return integer
91 91
      */
92 92
     public function getLayoutPosition()
93 93
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/DashboardBundle/Helper/DateHelper.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      * @param DateTime     $start
144 144
      * @param DateTime     $end
145 145
      * @param QueryBuilder $qb
146
-     * @param              $entityField
146
+     * @param              string $entityField
147 147
      */
148 148
     public function addDatePartsSelect(DateTime $start, DateTime $end, QueryBuilder $qb, $entityField)
149 149
     {
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
     /**
291 291
      * @param array    $config
292 292
      * @param DateTime $date
293
-     * @param          $increment
293
+     * @param          integer $increment
294 294
      * @return string
295 295
      */
296 296
     protected function getFormattedLabel($config, DateTime $date, $increment)
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,16 +4,13 @@
 block discarded – undo
4 4
 
5 5
 use Oro\Bundle\WorkflowBundle\Model\ContextAccessor;
6 6
 use Symfony\Component\Form\Test\FormIntegrationTestCase;
7
-
8 7
 use Oro\Bundle\WorkflowBundle\Form\EventListener\DefaultValuesListener;
9 8
 use Oro\Bundle\WorkflowBundle\Form\EventListener\InitActionsListener;
10 9
 use Oro\Bundle\WorkflowBundle\Form\EventListener\RequiredAttributesListener;
11 10
 use Oro\Bundle\WorkflowBundle\Form\Type\WorkflowAttributesType;
12
-
13 11
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem;
14 12
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep;
15 13
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowDefinition;
16
-
17 14
 use Oro\Bundle\WorkflowBundle\Model\Step;
18 15
 use Oro\Bundle\WorkflowBundle\Model\Attribute;
19 16
 use Oro\Bundle\WorkflowBundle\Model\WorkflowData;
Please login to merge, or discard this patch.
src/Oro/Bundle/DashboardBundle/Model/Manager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -278,7 +278,7 @@
 block discarded – undo
278 278
      * @param User           $user
279 279
      * @param bool           $flush
280 280
      *
281
-     * @return bool
281
+     * @return boolean|null
282 282
      */
283 283
     public function setUserActiveDashboard(DashboardModel $dashboard, User $user, $flush = false)
284 284
     {
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.
DashboardBundle/Provider/Converters/PreviousFilterDateRangeConverter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -8,6 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     /**
10 10
      * {@inheritdoc}
11
+     * @param boolean $value
11 12
      */
12 13
     public function getConvertedValue(array $widgetConfig, $value = null, array $config = [], array $options = [])
13 14
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/DataAuditBundle/Tests/Unit/Fixture/LoggableClass.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-     * @param mixed $name
56
+     * @param string $name
57 57
      * @return $this
58 58
      */
59 59
     public function setName($name)
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-     * @return mixed
67
+     * @return string
68 68
      */
69 69
     public function getName()
70 70
     {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     }
73 73
 
74 74
     /**
75
-     * @param mixed $collection
75
+     * @param \Doctrine\ORM\PersistentCollection $collection
76 76
      * @return $this
77 77
      */
78 78
     public function setCollection($collection)
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     }
84 84
 
85 85
     /**
86
-     * @return mixed
86
+     * @return LoggableCollectionClass[]
87 87
      */
88 88
     public function getCollection()
89 89
     {
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.
src/Oro/Bundle/DataGridBundle/Common/Object.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -194,6 +194,7 @@
 block discarded – undo
194 194
      * Expects data format for array data
195 195
      *
196 196
      * {@inheritDoc}
197
+     * @param string $path
197 198
      */
198 199
     public function offsetUnsetByPath($path)
199 200
     {
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/Datasource/Orm/OrmDatasource.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,13 +3,9 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\DataGridBundle\Datasource\Orm;
4 4
 
5 5
 use Doctrine\Common\Persistence\ManagerRegistry;
6
-use Doctrine\ORM\Query;
7 6
 use Doctrine\ORM\QueryBuilder;
8
-
9 7
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
10
-
11 8
 use Oro\Component\DoctrineUtils\ORM\QueryHintResolver;
12
-
13 9
 use Oro\Bundle\DataGridBundle\Datagrid\DatagridInterface;
14 10
 use Oro\Bundle\DataGridBundle\Datasource\DatasourceInterface;
15 11
 use Oro\Bundle\DataGridBundle\Datasource\ParameterBinderAwareInterface;
Please login to merge, or discard this patch.