Completed
Push — master ( efa664...64760b )
by Lars
04:04
created
src/voku/helper/UTF8.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -405,16 +405,16 @@  discard block
 block discarded – undo
405 405
       $chr = self::$CHR[$code_point];
406 406
     } elseif ($code_point <= 0x7FF) {
407 407
       $chr = self::$CHR[($code_point >> 6) + 0xC0] .
408
-             self::$CHR[($code_point & 0x3F) + 0x80];
408
+              self::$CHR[($code_point & 0x3F) + 0x80];
409 409
     } elseif ($code_point <= 0xFFFF) {
410 410
       $chr = self::$CHR[($code_point >> 12) + 0xE0] .
411
-             self::$CHR[(($code_point >> 6) & 0x3F) + 0x80] .
412
-             self::$CHR[($code_point & 0x3F) + 0x80];
411
+              self::$CHR[(($code_point >> 6) & 0x3F) + 0x80] .
412
+              self::$CHR[($code_point & 0x3F) + 0x80];
413 413
     } else {
414 414
       $chr = self::$CHR[($code_point >> 18) + 0xF0] .
415
-             self::$CHR[(($code_point >> 12) & 0x3F) + 0x80] .
416
-             self::$CHR[(($code_point >> 6) & 0x3F) + 0x80] .
417
-             self::$CHR[($code_point & 0x3F) + 0x80];
415
+              self::$CHR[(($code_point >> 12) & 0x3F) + 0x80] .
416
+              self::$CHR[(($code_point >> 6) & 0x3F) + 0x80] .
417
+              self::$CHR[($code_point & 0x3F) + 0x80];
418 418
     }
419 419
 
420 420
     if ($encoding !== 'UTF-8') {
@@ -2263,10 +2263,10 @@  discard block
 block discarded – undo
2263 2263
     $json = self::json_decode($str);
2264 2264
 
2265 2265
     return (
2266
-               \is_object($json) === true
2266
+                \is_object($json) === true
2267 2267
                ||
2268 2268
                \is_array($json) === true
2269
-           )
2269
+            )
2270 2270
            &&
2271 2271
            \json_last_error() === JSON_ERROR_NONE;
2272 2272
   }
Please login to merge, or discard this patch.