Commit 86e58794 authored by František Bereň's avatar František Bereň Committed by lucasvanlierop

Update AbstractPlatform.php

reverted @deeky666 suggestion. Since it failed on testBooleanNullConvertsToPHPValue test. 
with message Failed asserting that true is null.
Since I moved this code from BoolenType::convertToPHPValue in the first place, I presume the code there correct.
parent dbb0774d
...@@ -2592,7 +2592,7 @@ abstract class AbstractPlatform ...@@ -2592,7 +2592,7 @@ abstract class AbstractPlatform
*/ */
public function convertFromBoolean($item) public function convertFromBoolean($item)
{ {
return null === $item ?: (bool) $item ; return null === $item ? null: (bool) $item ;
} }
/** /**
......
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