Test Failed
Push — master ( f3f9ec...f43318 )
by Jinyun
02:19
created
src/leetcode/HammingDistance.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
             return 0;
13 13
         }
14 14
 
15
-        $z = (string)(decbin($x ^ $y));
15
+        $z = (string) (decbin($x ^ $y));
16 16
 
17
-        return (int)(substr_count($z, '1'));
17
+        return (int) (substr_count($z, '1'));
18 18
     }
19 19
 
20 20
     public static function hammingDistance2(int $x, int $y): int
Please login to merge, or discard this patch.