- Changed returned object from PdoObject runQuery method correcting 'Creation of dynamic property PDOStatement:: is deprecated'
This commit is contained in:
1 parent
3c5aa51850
commit
f3712c9cc7
6 files changed
+27
-24
No files matched your search
+1
-1
@@ -57,7 +57,7 @@ trait EntityTrait {
|
||||
$data = json_decode($value, true);
|
||||
|
||||
if (json_last_error() !== \JSON_ERROR_NONE) {
|
||||
throw new \Exception(sprintf("JSON error while decoding in EntityTrait : '%s' given %s", json_last_error_msg(), $value));
|
||||
throw new \Exception(sprintf("JSON error while decoding in EntityTrait : '%s' given %s with field %s", json_last_error_msg(), $value, json_encode($field)));
|
||||
}
|
||||
|
||||
$this->{$field['name']} = $data;
|
||||
|
||||
Reference in new issue
Block a user