@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | |
4 | -declare(strict_types=1); |
|
4 | +declare(strict_types = 1); |
|
5 | 5 | |
6 | 6 | namespace Doctrine\ORM\Cache\Persister\Collection; |
7 | 7 | |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | $targetHydrator = $targetPersister->getEntityHydrator(); |
165 | 165 | |
166 | 166 | // Only preserve ordering if association configured it |
167 | - if (! ($association instanceof ToManyAssociationMetadata && $association->getIndexedBy())) { |
|
167 | + if ( ! ($association instanceof ToManyAssociationMetadata && $association->getIndexedBy())) { |
|
168 | 168 | // Elements may be an array or a Collection |
169 | 169 | $elements = \array_values($elements instanceof Collection ? $elements->getValues() : $elements); |
170 | 170 | } |