Passed
Push — master ( 132083...2c9e70 )
by Smoren
02:22
created
src/Structs/Exponential.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,11 +26,11 @@  discard block
 block discarded – undo
26 26
      */
27 27
     public function getValueByIndex(int $index)
28 28
     {
29
-        if ((float)$this->step === 0.0 && $index < 0) {
29
+        if ((float) $this->step === 0.0 && $index < 0) {
30 30
             throw new \DivisionByZeroError();
31 31
         }
32 32
 
33
-        return $this->start * ($this->step ** $index);
33
+        return $this->start*($this->step ** $index);
34 34
     }
35 35
 
36 36
     /**
@@ -39,6 +39,6 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function getNextValue($previousValue)
41 41
     {
42
-        return $previousValue * $this->step;
42
+        return $previousValue*$this->step;
43 43
     }
44 44
 }
Please login to merge, or discard this patch.