Passed
Push — master ( d0fbd1...0825db )
by Daniel
76:55 queued 39:08
created
6 Kyu/persistent-bugger.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 function persistence(int $num): int
19 19
 {
20 20
     // Ensure that $num is an integer
21
-    $num = (int)$num;
21
+    $num = (int) $num;
22 22
     $total = 1;
23 23
     
24 24
     $numArray = str_split($num);
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 function altPersistence(int $num): int
48 48
 {
49 49
     // Ensure that $num is an integer
50
-    $num = (int)$num;
50
+    $num = (int) $num;
51 51
     $count = 0;
52 52
     while ($num > 9) {
53 53
         $num = array_product(str_split($num));
Please login to merge, or discard this patch.