Passed
Pull Request — 2.6 (#6988)
by Luís
10:05
created
lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
                         : $value;
317 317
 
318 318
                     if ($cacheKeyInfo['isIdentifier'] && $value !== null) {
319
-                        $id[$dqlAlias] .= '|' . $value;
319
+                        $id[$dqlAlias] .= '|'.$value;
320 320
                         $nonemptyComponents[$dqlAlias] = true;
321 321
                     }
322 322
                     break;
@@ -354,7 +354,7 @@  discard block
 block discarded – undo
354 354
             if ( ! isset($cacheKeyInfo['isScalar'])) {
355 355
                 $dqlAlias  = $cacheKeyInfo['dqlAlias'];
356 356
                 $type      = $cacheKeyInfo['type'];
357
-                $fieldName = $dqlAlias . '_' . $fieldName;
357
+                $fieldName = $dqlAlias.'_'.$fieldName;
358 358
                 $value     = $type
359 359
                     ? $type->convertToPHPValue($value, $this->_platform)
360 360
                     : $value;
@@ -397,7 +397,7 @@  discard block
 block discarded – undo
397 397
                 // should there be field name collisions
398 398
                 if ($classMetadata->parentClasses && isset($this->_rsm->discriminatorColumns[$ownerMap])) {
399 399
                     $discriminatorValues = array_map(
400
-                        function (string $subClass) : string {
400
+                        function(string $subClass) : string {
401 401
                             return (string) $this->getClassMetadata($subClass)->discriminatorValue;
402 402
                         },
403 403
                         $classMetadata->subClasses
Please login to merge, or discard this patch.