Browse Source

SCA with Php Inspections (EA Ultimate): reverts as per code review

Vladimir Reznichenko 8 years ago
parent
commit
724987b026
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Core/functions.php

+ 1 - 1
src/Core/functions.php

@@ -51,7 +51,7 @@ if (!function_exists('h')) {
             } 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;
         }