|
@@ -1,7 +1,7 @@ discard block |
|
|
block discarded – undo |
|
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 |
|
|
block discarded – undo |
|
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
|
} |
Please login to merge, or discard this patch.