@@ -125,7 +125,7 @@ |
||
125 | 125 | return []; |
126 | 126 | } |
127 | 127 | if ($options->skipCurrent) { |
128 | - unset($result[count($result)-1]); |
|
128 | + unset($result[count($result) - 1]); |
|
129 | 129 | } |
130 | 130 | |
131 | 131 | return $this->fromDbRows($result); |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | return []; |
182 | 182 | } |
183 | 183 | if ($options->skipCurrent) { |
184 | - unset($result[count($result)-1]); |
|
184 | + unset($result[count($result) - 1]); |
|
185 | 185 | } |
186 | 186 | |
187 | 187 | return $this->fromDbRows($result); |
@@ -350,7 +350,7 @@ discard block |
||
350 | 350 | return $result; |
351 | 351 | } |
352 | 352 | |
353 | - protected function fillDataFromRow(Row|ActiveRow $row) : Support\Node |
|
353 | + protected function fillDataFromRow(Row | ActiveRow $row) : Support\Node |
|
354 | 354 | { |
355 | 355 | $data = clone $this->nodeBase; |
356 | 356 | foreach ($row as $k => $v) { |
@@ -560,7 +560,7 @@ discard block |
||
560 | 560 | */ |
561 | 561 | protected function filteredEntries(array $entries) : array |
562 | 562 | { |
563 | - return array_filter($entries, function ($entry) : bool { |
|
563 | + return array_filter($entries, function($entry) : bool { |
|
564 | 564 | return is_null($entry) || is_numeric($entry) || is_string($entry); |
565 | 565 | }); |
566 | 566 | } |