Commit 43d13fcf authored by Tiago Brito's avatar Tiago Brito

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

parent 031f38c3
......@@ -786,7 +786,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';
......@@ -806,7 +806,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