@@ -41,10 +41,10 @@ |
||
| 41 | 41 | public function getDepth() |
| 42 | 42 | { |
| 43 | 43 | $max = 0; |
| 44 | - $depth = function (&$max) { |
|
| 45 | - return function ($line) use (&$max) { |
|
| 44 | + $depth = function(&$max) { |
|
| 45 | + return function($line) use (&$max) { |
|
| 46 | 46 | // every line-indent equals 4 spaces |
| 47 | - $max = max([$max, (strlen($line) - strlen(ltrim($line))) / 4]); |
|
| 47 | + $max = max([ $max, (strlen($line) - strlen(ltrim($line))) / 4 ]); |
|
| 48 | 48 | }; |
| 49 | 49 | }; |
| 50 | 50 | |
@@ -69,7 +69,7 @@ |
||
| 69 | 69 | */ |
| 70 | 70 | private function iterateCallback($delimiter, $enclosure, $escape) |
| 71 | 71 | { |
| 72 | - return function ($row) use ($delimiter, $enclosure, $escape) { |
|
| 72 | + return function($row) use ($delimiter, $enclosure, $escape) { |
|
| 73 | 73 | return Csv::fromString($row)->toArray($delimiter, $enclosure, $escape); |
| 74 | 74 | }; |
| 75 | 75 | } |