Completed
Pull Request — master (#364)
by Sufijen
42:35
created
src/Oro/Component/Layout/DeferredLayoutManipulatorInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -182,6 +182,7 @@
 block discarded – undo
182 182
      *                                   True means that not executed actions are the reason for an error.
183 183
      *
184 184
      * @throws Exception\DeferredUpdateFailureException if not all scheduled action have been performed
185
+     * @return void
185 186
      */
186 187
     public function applyChanges(ContextInterface $context, $finalize = false);
187 188
 }
Please login to merge, or discard this patch.
src/Oro/Component/Layout/LayoutBuilderInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
      *
116 116
      * @param string $id             The item id
117 117
      * @param string $optionName     The option name or path
118
-     * @param mixed  $oldOptionValue The option value to be replaced
118
+     * @param string  $oldOptionValue The option value to be replaced
119 119
      * @param mixed  $newOptionValue The option value to replace a value specified in $oldOptionValue parameter
120 120
      *
121 121
      * @return self
Please login to merge, or discard this patch.
src/Oro/Component/Layout/Loader/Driver/AbstractDriver.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     /**
137 137
      * Dumps source back to human readable representation for error reporting. Could be overridden in descendants.
138 138
      *
139
-     * @param mixed $source
139
+     * @param string $source
140 140
      *
141 141
      * @return mixed
142 142
      */
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      *
163 163
      * @param string $name Resource filename
164 164
      *
165
-     * @return bool|string Returns FALSE if cache dir isn't configured or generated PHP absolute filename otherwise
165
+     * @return string Returns FALSE if cache dir isn't configured or generated PHP absolute filename otherwise
166 166
      */
167 167
     protected function getCacheFilename($name)
168 168
     {
Please login to merge, or discard this patch.
src/Oro/Component/Layout/RawLayout.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -575,7 +575,7 @@
 block discarded – undo
575 575
      *
576 576
      * @param string $id The layout item id to be tested
577 577
      *
578
-     * @return bool
578
+     * @return integer
579 579
      */
580 580
     protected function isValidId($id)
581 581
     {
Please login to merge, or discard this patch.
Unit/Extension/DependencyInjection/DependencyInjectionExtensionTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
     /**
202 202
      * @param string $id
203 203
      *
204
-     * @return \PHPUnit_Framework_MockObject_MockObject|LayoutItemInterface
204
+     * @return LayoutItemInterface
205 205
      */
206 206
     protected function getLayoutItem($id)
207 207
     {
Please login to merge, or discard this patch.
src/Oro/Component/PropertyAccess/PropertyAccessor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
      * @param object|array                 $object       The object or array to traverse
248 248
      * @param string|PropertyPathInterface $propertyPath The property path to read
249 249
      *
250
-     * @return mixed The value at the end of the property path
250
+     * @return null|boolean The value at the end of the property path
251 251
      *
252 252
      * @throws Exception\InvalidPropertyPathException If an object or a property path has invalid type.
253 253
      * @throws Exception\NoSuchPropertyException If a property does not exist or is not public.
@@ -443,7 +443,7 @@  discard block
 block discarded – undo
443 443
      * @param PropertyPathInterface $propertyPath
444 444
      * @param int                   $propertyPathIndex
445 445
      *
446
-     * @return mixed
446
+     * @return null|PropertyPathInterface
447 447
      *
448 448
      * @throws Exception\NoSuchPropertyException if the property does not exist or is not public
449 449
      *
Please login to merge, or discard this patch.
src/Oro/Component/PropertyAccess/Tests/Unit/PropertyAccessorTest.php 1 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/Component/TestUtils/ORM/Mocks/ConnectionMock.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
     private $inserts = array();
15 15
     private $executeUpdates = array();
16 16
 
17
+    /**
18
+     * @param \Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\Mocks\DriverMock $driver
19
+     */
17 20
     public function __construct(array $params, $driver, $config = null, $eventManager = null)
18 21
     {
19 22
         $this->platformMock = new DatabasePlatformMock();
Please login to merge, or discard this patch.
src/Oro/Component/TestUtils/ORM/OrmTestCase.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -167,6 +167,9 @@
 block discarded – undo
167 167
         return self::$metadataCacheImpl;
168 168
     }
169 169
 
170
+    /**
171
+     * @return \Doctrine\Common\Cache\Cache
172
+     */
170 173
     private static function getSharedQueryCacheImpl()
171 174
     {
172 175
         if (self::$queryCacheImpl === null) {
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.