Commit 1ae0bd89 authored by František Bereň's avatar František Bereň Committed by lucasvanlierop

Update BooleanType.php

Changed to call platform specific Boolean conversion
parent 47e03708
......@@ -49,7 +49,7 @@ class BooleanType extends Type
*/
public function convertToPHPValue($value, AbstractPlatform $platform)
{
return (null === $value) ? null : (bool) $value;
return $platform->convertFromBoolean($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