Failed Conditions
Push — master ( 671fd5...a30d8d )
by Marco
21:27
created
lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
 
297 297
                     // If there are field name collisions in the child class, then we need
298 298
                     // to only hydrate if we are looking at the correct discriminator value
299
-                    if(
299
+                    if (
300 300
                         isset($cacheKeyInfo['discriminatorColumn']) && 
301 301
                         isset($data[$cacheKeyInfo['discriminatorColumn']]) &&
302 302
                         // Note: loose comparison required. See https://github.com/doctrine/doctrine2/pull/6304#issuecomment-323294442
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
                         : $value;
318 318
 
319 319
                     if ($cacheKeyInfo['isIdentifier'] && $value !== null) {
320
-                        $id[$dqlAlias] .= '|' . $value;
320
+                        $id[$dqlAlias] .= '|'.$value;
321 321
                         $nonemptyComponents[$dqlAlias] = true;
322 322
                     }
323 323
                     break;
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
             if ( ! isset($cacheKeyInfo['isScalar'])) {
356 356
                 $dqlAlias  = $cacheKeyInfo['dqlAlias'];
357 357
                 $type      = $cacheKeyInfo['type'];
358
-                $fieldName = $dqlAlias . '_' . $fieldName;
358
+                $fieldName = $dqlAlias.'_'.$fieldName;
359 359
                 $value     = $type
360 360
                     ? $type->convertToPHPValue($value, $this->_platform)
361 361
                     : $value;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC6303Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Doctrine\Tests\ORM\Functional\Ticket;
6 6
 
Please login to merge, or discard this patch.