Passed
Push — master ( e4531b...a6f95b )
by Smoren
02:40
created
src/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
  */
13 13
 function xrange(int $start, ?int $size = null, int $step = 1): Range
14 14
 {
15
-    if($size === null) {
15
+    if ($size === null) {
16 16
         [$start, $size] = [0, $start];
17 17
     }
18 18
 
Please login to merge, or discard this patch.
src/Structs/Exponential.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      */
17 17
     public function getValueByIndex(int $index)
18 18
     {
19
-        return $this->start * ($this->step ** $index);
19
+        return $this->start*($this->step ** $index);
20 20
     }
21 21
 
22 22
     /**
@@ -25,6 +25,6 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function getNextValue($previousValue)
27 27
     {
28
-        return $previousValue * $this->step;
28
+        return $previousValue*$this->step;
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
src/Structs/Range.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
      */
16 16
     public function getValueByIndex(int $index)
17 17
     {
18
-        return $this->start + $index * $this->step;
18
+        return $this->start+$index*$this->step;
19 19
     }
20 20
 
21 21
     /**
@@ -24,6 +24,6 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function getNextValue($previousValue)
26 26
     {
27
-        return $previousValue + $this->step;
27
+        return $previousValue+$this->step;
28 28
     }
29 29
 }
Please login to merge, or discard this patch.