Completed
Push — 2.6 ( 6a827d...686f50 )
by Luís
29s queued 22s
created
lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -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;
@@ -352,11 +352,11 @@  discard block
 block discarded – undo
352 352
 
353 353
             // WARNING: BC break! We know this is the desired behavior to type convert values, but this
354 354
             // erroneous behavior exists since 2.0 and we're forced to keep compatibility.
355
-            if (! isset($cacheKeyInfo['isScalar'])) {
355
+            if ( ! isset($cacheKeyInfo['isScalar'])) {
356 356
                 $type  = $cacheKeyInfo['type'];
357 357
                 $value = $type ? $type->convertToPHPValue($value, $this->_platform) : $value;
358 358
 
359
-                $fieldName = $cacheKeyInfo['dqlAlias'] . '_' . $fieldName;
359
+                $fieldName = $cacheKeyInfo['dqlAlias'].'_'.$fieldName;
360 360
             }
361 361
 
362 362
             $rowData[$fieldName] = $value;
@@ -465,7 +465,7 @@  discard block
 block discarded – undo
465 465
     private function getDiscriminatorValues(ClassMetadata $classMetadata) : array
466 466
     {
467 467
         $values = array_map(
468
-            function (string $subClass) : string {
468
+            function(string $subClass) : string {
469 469
                 return (string) $this->getClassMetadata($subClass)->discriminatorValue;
470 470
             },
471 471
             $classMetadata->subClasses
Please login to merge, or discard this patch.