@@ -53,7 +53,7 @@ |
||
53 | 53 | public function count(): int |
54 | 54 | { |
55 | 55 | if (null === $this->count) { |
56 | - $this->count = array_sum(array_map(function ($set) { |
|
56 | + $this->count = array_sum(array_map(function($set) { |
|
57 | 57 | return count(cartesian_product($set)); |
58 | 58 | }, iterator_to_array($this->generateSets()))); |
59 | 59 | } |
@@ -64,7 +64,7 @@ |
||
64 | 64 | while (true) { |
65 | 65 | $exitEarly = false; |
66 | 66 | for ($i = $length; $i--;) { |
67 | - $cycles[$i]-= 1; |
|
67 | + $cycles[$i] -= 1; |
|
68 | 68 | if ($cycles[$i] == 0) { |
69 | 69 | if ($i < count($indices)) { |
70 | 70 | $removed = array_splice($indices, $i, 1); |