serializing an object where $baz had not been set yet (even though it's not nullable, i know, I'm bad) would result in rehydrating it with a value of null, which would blow up because it isn't typehinted to null
This fixes that, so we only rehydrate values that are instantiated.
Imagine the following object:
serializing an object where $baz had not been set yet (even though it's not nullable, i know, I'm bad) would result in rehydrating it with a value of null, which would blow up because it isn't typehinted to null
This fixes that, so we only rehydrate values that are instantiated.