Completed
Push — 6-php_attributes ( cedb17...e01328 )
by Jakub
01:33
created
src/TAssertions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
   protected function assertType($type, $value): void {
219 219
     if(!is_object($type) && !is_string($type)) {
220 220
       Environment::testResult("Type must be string or object.", false);
221
-    } elseif(in_array($type, ["array", "bool", "callable", "float",  "int", "integer", "null", "object",
221
+    } elseif(in_array($type, ["array", "bool", "callable", "float", "int", "integer", "null", "object",
222 222
       "resource", "scalar", "string", "iterable", ], true)) {
223 223
       if(!call_user_func("is_$type", $value)) {
224 224
         Environment::testResult("The variable is " . gettype($value) . ".", false);
Please login to merge, or discard this patch.