@@ -75,7 +75,7 @@ |
||
75 | 75 | * @return int |
76 | 76 | */ |
77 | 77 | protected function fact($n, $total = 1) { |
78 | - return ($n < 2) ? $total : $this->fact($n-1, $total * $n); |
|
78 | + return ($n < 2) ? $total : $this->fact($n - 1, $total * $n); |
|
79 | 79 | } |
80 | 80 | |
81 | 81 | } |
82 | 82 | \ No newline at end of file |
@@ -50,7 +50,7 @@ |
||
50 | 50 | */ |
51 | 51 | public function next() { |
52 | 52 | ++$this->key; |
53 | - for($i = $this->key; $i < $this->getMaxLimit(); $i++) { |
|
53 | + for ($i = $this->key; $i < $this->getMaxLimit(); $i++) { |
|
54 | 54 | if ($this->isPrimeNumber($i)) { |
55 | 55 | $this->key = $i; |
56 | 56 | $this->current = $i; |