Details
Description
DecimalType::convertToPHPValue should return NULL if the value in the database is NULL. This is similar to the issue with IntegerType that was fixed with #DDC-571.
The fix would be to replace
return (double) $value;
with
return is_null($value) ? null : (double) $value;
Fixed