Commit 4e7e2dfe authored by lucasvanlierop's avatar lucasvanlierop

Removed checks that are already covered by parent method

parent edda2d41
...@@ -813,11 +813,7 @@ class PostgreSqlPlatform extends AbstractPlatform ...@@ -813,11 +813,7 @@ class PostgreSqlPlatform extends AbstractPlatform
*/ */
public function convertFromBoolean($item) public function convertFromBoolean($item)
{ {
if ((null !== $item) && if (in_array(strtolower($item), array('false', 'f', 'n', 'no', 'off'), true)) {
(false !== $item) &&
(true !== $item) &&
in_array(strtolower($item), array('false', 'f', 'n', 'no', 'off'), true)
) {
return false; return false;
} }
......
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