@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | */ |
20 | 20 | public function getValueByIndex(int $index): int |
21 | 21 | { |
22 | - return $this->start + $index * $this->step; |
|
22 | + return $this->start+$index*$this->step; |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | /** |
@@ -36,6 +36,6 @@ discard block |
||
36 | 36 | */ |
37 | 37 | public function getNextValue($previousValue): int |
38 | 38 | { |
39 | - return $previousValue + $this->step; |
|
39 | + return $previousValue+$this->step; |
|
40 | 40 | } |
41 | 41 | } |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | */ |
16 | 16 | public function getValueByIndex(int $index): int |
17 | 17 | { |
18 | - return (int)($this->start * ($this->step ** $index)); |
|
18 | + return (int) ($this->start*($this->step ** $index)); |
|
19 | 19 | } |
20 | 20 | |
21 | 21 | /** |
@@ -32,6 +32,6 @@ discard block |
||
32 | 32 | */ |
33 | 33 | public function getNextValue($previousValue): int |
34 | 34 | { |
35 | - return $previousValue * $this->step; |
|
35 | + return $previousValue*$this->step; |
|
36 | 36 | } |
37 | 37 | } |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | */ |
20 | 20 | public function getValueByIndex(int $index): float |
21 | 21 | { |
22 | - return $this->start * ($this->step ** $index); |
|
22 | + return $this->start*($this->step ** $index); |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | /** |
@@ -36,6 +36,6 @@ discard block |
||
36 | 36 | */ |
37 | 37 | public function getNextValue($previousValue): float |
38 | 38 | { |
39 | - return $previousValue * $this->step; |
|
39 | + return $previousValue*$this->step; |
|
40 | 40 | } |
41 | 41 | } |
@@ -60,7 +60,7 @@ |
||
60 | 60 | */ |
61 | 61 | public function getNextValue($previousValue): float |
62 | 62 | { |
63 | - return $previousValue + $this->step; |
|
63 | + return $previousValue+$this->step; |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | /** |