@@ -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; |
@@ -351,12 +351,12 @@ discard block |
||
351 | 351 | $fieldName = $cacheKeyInfo['fieldName']; |
352 | 352 | |
353 | 353 | if (isset($cacheKeyInfo['dqlAlias'])) { |
354 | - $fieldName = $cacheKeyInfo['dqlAlias'] . '_' . $fieldName; |
|
354 | + $fieldName = $cacheKeyInfo['dqlAlias'].'_'.$fieldName; |
|
355 | 355 | } |
356 | 356 | |
357 | 357 | // WARNING: BC break! We know this is the desired behavior to type convert values, but this |
358 | 358 | // erroneous behavior exists since 2.0 and we're forced to keep compatibility. |
359 | - if (! isset($cacheKeyInfo['isScalar'])) { |
|
359 | + if ( ! isset($cacheKeyInfo['isScalar'])) { |
|
360 | 360 | $type = $cacheKeyInfo['type']; |
361 | 361 | $value = $type ? $type->convertToPHPValue($value, $this->_platform) : $value; |
362 | 362 | } |
@@ -466,7 +466,7 @@ discard block |
||
466 | 466 | private function getDiscriminatorValues(ClassMetadata $classMetadata) : array |
467 | 467 | { |
468 | 468 | $values = array_map( |
469 | - function (string $subClass) : string { |
|
469 | + function(string $subClass) : string { |
|
470 | 470 | return (string) $this->getClassMetadata($subClass)->discriminatorValue; |
471 | 471 | }, |
472 | 472 | $classMetadata->subClasses |