Passed
Push — master ( 8bc862...fc3b2f )
by Hector Luis
03:30
created
src/Infrastructure/Driver/Traits/FileInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     private function setHeader(): ReferencedSignature
30 30
     {
31 31
         if ($this->hasHeader()) {
32
-            $this->header = $this->isContentIterator() ? (function () {
32
+            $this->header = $this->isContentIterator() ? (function() {
33 33
                 return $this->content->current();
34 34
             })() : array_shift($this->getContent());
35 35
         }
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public function getHeader()
44 44
     {
45
-        return !empty($this->header) ? $this->header : (function () {
45
+        return !empty($this->header) ? $this->header : (function() {
46 46
             $this->setHeader();
47 47
 
48 48
             return $this->header;
Please login to merge, or discard this patch.
src/Infrastructure/Driver/Iterator/SimpleIterator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public function getChunk(int $begin, int $end): ?array
66 66
     {
67
-        $end ++;
67
+        $end++;
68 68
         $result = [];
69 69
         // Returns none if no range at all
70 70
         if ($begin >= $end || $begin < 0) {
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         if ($begin < $this->content->key()) {
75 75
             // Last row not inclusive
76 76
             $range = range($begin, $end - 1);
77
-            array_walk($range, function ($i) use (&$result) {
77
+            array_walk($range, function($i) use (&$result) {
78 78
                 if (isset($this->cachedRows[$i])) {
79 79
                     $result[$i] = $this->cachedRows[$i];
80 80
                 }
Please login to merge, or discard this patch.