@@ -19,7 +19,7 @@ |
||
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 | /** |
@@ -19,7 +19,7 @@ |
||
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 | /** |
@@ -19,7 +19,7 @@ |
||
19 | 19 | */ |
20 | 20 | public function getValueByIndex(int $index): float |
21 | 21 | { |
22 | - return $this->start + $index * $this->step; |
|
22 | + return $this->start+$index*$this->step; |
|
23 | 23 | } |
24 | 24 | |
25 | 25 | /** |
@@ -15,7 +15,7 @@ |
||
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 | /** |