- minor fixes
This commit is contained in:
1 parent
953fc35680
commit
d2bd6c2f58
2 files changed
+2
-6
No files matched your search
+1
-5
@@ -112,7 +112,7 @@ trait EntityTrait {
|
||||
$this->entityLoadedDataset = array_change_key_case($dataset, \CASE_LOWER);
|
||||
}
|
||||
elseif ($overwriteDataset) {
|
||||
$this->entityLoadedDataset = array_change_key_case($dataset, \CASE_LOWER) + $this->entityLoadedDataset;
|
||||
$this->entityLoadedDataset = iterator_to_array(array_change_key_case($dataset, \CASE_LOWER)) + $this->entityLoadedDataset;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -261,10 +261,6 @@ trait EntityTrait {
|
||||
#[Ignore]
|
||||
public function __clone()
|
||||
{
|
||||
foreach($this as $prop) {
|
||||
|
||||
}
|
||||
|
||||
if ( null !== $pkField = $this->resolveEntity()->getPrimaryKeyField($this) ) {
|
||||
$key = key($pkField);
|
||||
|
||||
|
||||
Reference in new issue
Block a user