|
@@ -384,8 +384,7 @@ discard block |
|
|
block discarded – undo |
|
384
|
384
|
} |
|
385
|
385
|
|
|
386
|
386
|
return $useAutoIncrement && $entity::isAutoIncremented() ? |
|
387
|
|
- $this->getDbal()->insertAndSyncWithAutoInc($entity) : |
|
388
|
|
- $this->getDbal()->insertAndSync($entity); |
|
|
387
|
+ $this->getDbal()->insertAndSyncWithAutoInc($entity) : $this->getDbal()->insertAndSync($entity); |
|
389
|
388
|
} |
|
390
|
389
|
|
|
391
|
390
|
/** |
|
@@ -501,7 +500,7 @@ discard block |
|
|
block discarded – undo |
|
501
|
500
|
return new EntityFetcher($this, $class); |
|
502
|
501
|
} |
|
503
|
502
|
|
|
504
|
|
- $primaryKey = $this::buildPrimaryKey($class, (array)$primaryKey); |
|
|
503
|
+ $primaryKey = $this::buildPrimaryKey($class, (array) $primaryKey); |
|
505
|
504
|
$checksum = $this::buildChecksum($primaryKey); |
|
506
|
505
|
|
|
507
|
506
|
if (isset($this->map[$class][$checksum])) { |
Please login to merge, or discard this patch.