@@ -296,7 +296,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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; |
@@ -1,6 +1,6 @@ |
||
| 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 | |