Commit eb487974 authored by Marco Pivetta's avatar Marco Pivetta

Merge pull request #2309 from JHGitty/patch-1

Fix unnecessary check in DecimalType
parents 02e5b61b e7c8ac9a
...@@ -49,6 +49,6 @@ class DecimalType extends Type ...@@ -49,6 +49,6 @@ class DecimalType extends Type
*/ */
public function convertToPHPValue($value, AbstractPlatform $platform) public function convertToPHPValue($value, AbstractPlatform $platform)
{ {
return (null === $value) ? null : $value; return $value;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment