- ArrayOf errors now catched in EntityTrait (event soon to be attached to it)
- Fixed some non-nullable defaulted to null vars in functions - Added a new diff method for entities which skips nullable values if they are not defined.
This commit is contained in:
1 parent
709ed63323
commit
13b7cf06f1
9 files changed
+52
-26
No files matched your search
+1
-1
@@ -337,7 +337,7 @@ class Repository implements RepositoryInterface
|
||||
|
||||
public function generateDatasetDiff(object $entity, bool $oldValues = false) : array
|
||||
{
|
||||
$array = array_change_key_case($entity->toArray());
|
||||
$array = array_change_key_case($entity->entityGetDiffDataset());
|
||||
|
||||
$dataset = array_change_key_case($entity->entityGetDataset(false, true));
|
||||
|
||||
|
||||
Reference in new issue
Block a user