Browse Source

Fixing cs-complaint

Chris Hallgren 6 years ago
parent
commit
d7b3483d38
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Utility/Utility.php

+ 1 - 1
src/Utility/Utility.php

@@ -451,7 +451,7 @@ class Utility {
 			return $value;
 		}
 
-		if (is_string($value) || is_null($value)) {
+		if (is_string($value) || $value === null) {
 			return ($value === null && !$transformNullToString) ? $value : trim($value);
 		}