Detailed description
When type casting a property as float|int the property's value is changed to an int.
/**
* @property-read float|int $amount
*/
class AgencyFeeData{}
...
$dto = AgencyFeeData::make(['amount' => 123.123]);
// expected
$dto->amount // 123.123
//actual
$dto->amount // 123
Detailed description
When type casting a property as float|int the property's value is changed to an int.