Passed
Push — master ( fc3b2f...844929 )
by Hector Luis
03:20
created
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.
src/Infrastructure/Driver/Traits/FileInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function getHeader()
27 27
     {
28
-        return !empty($this->header) ? $this->header : (function () {
28
+        return !empty($this->header) ? $this->header : (function() {
29 29
             $this->setHeader();
30 30
 
31 31
             return $this->header;
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     private function setHeader(): ReferencedSignature
39 39
     {
40 40
         if ($this->hasHeader()) {
41
-            $this->header = $this->isContentIterator() ? (function () {
41
+            $this->header = $this->isContentIterator() ? (function() {
42 42
                 return $this->content->current();
43 43
             })() : array_shift($this->getContent());
44 44
         }
Please login to merge, or discard this patch.