xp-framework/xp-framework — pull request #255 by thekid (2013-03-08 09:40:44+00:00)
Title: Change TypeMarshaller::unmarshal() signature

This pull request changes `webservices.rest.TypeMarshaller::unmarshal()`'s signature from `unmarshal(var $in)` to `unmarshal(Type $target, var $in)`.
...target, var $in).

This way, type marshallers know to which exact type to unmarshal to instead of having to use the base type, and thus makes unmarshallers reusable!