Skip to content

Commit 63b3e72

Browse files
authored
Revert "Prevent dynamic property creation due to JsonMapperHelper (#110)" (#119)
This reverts commit 531bb2a.
1 parent 237c3e2 commit 63b3e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonMapperHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static function setUndefinedProperty($object, $propName, $jsonValue)
2121
$object->{$propName} = $jsonValue;
2222
$object->customFields[$propName] = $jsonValue;
2323
}
24-
} elseif (isset($object->{$propName})) {
24+
} else {
2525
$object->{$propName} = $jsonValue;
2626
}
2727
}

0 commit comments

Comments
 (0)