@@ -29,7 +29,7 @@ discard block |
||
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 |
||
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; |
@@ -64,7 +64,7 @@ discard block |
||
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 |
||
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 | } |