Skip to content

Commit

Permalink
SCA with Php Inspections (EA Ultimate): reverts as per code review
Browse files Browse the repository at this point in the history
  • Loading branch information
kalessil committed Apr 27, 2018
1 parent 7220686 commit 724987b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function h($text, $double = true, $charset = null)
} else {
$text = '(object)' . get_class($text);
}
} elseif (is_bool($text) || is_int($text) || $text === null) {
} elseif ($text === null || is_bool($text) || is_int($text)) {
return $text;
}

Expand Down

0 comments on commit 724987b

Please sign in to comment.