We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75c5fdf commit 531bb2aCopy full SHA for 531bb2a
1 file changed
src/JsonMapperHelper.php
@@ -21,7 +21,7 @@ public static function setUndefinedProperty($object, $propName, $jsonValue)
21
$object->{$propName} = $jsonValue;
22
$object->customFields[$propName] = $jsonValue;
23
}
24
- } else {
+ } elseif (isset($object->{$propName})) {
25
26
27
0 commit comments