Commit b1cc410d authored by Tiago Brito's avatar Tiago Brito Committed by Steve Müller

refs #632 Remove is_null to be consistent with doctrine coding standard

parent 6b097097
......@@ -805,7 +805,7 @@ class PostgreSqlPlatform extends AbstractPlatform
return $this->doConvertBooleans(
$item,
function ($boolean) {
if (is_null($boolean)) {
if (null === $boolean) {
return 'NULL';
}
return true === $boolean ? 'true' : 'false';
......@@ -825,7 +825,7 @@ class PostgreSqlPlatform extends AbstractPlatform
return $this->doConvertBooleans(
$item,
function ($boolean) {
return is_null($boolean) ? null : (int) $boolean;
return null === $boolean ? null : (int) $boolean;
}
);
}
......
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