@@ -317,7 +317,7 @@ discard block |
||
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 |
||
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 |
||
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 |