@@ -13,7 +13,7 @@ |
||
13 | 13 | { |
14 | 14 | /** |
15 | 15 | * @param VOFloat $voFloat |
16 | - * @return mixed |
|
16 | + * @return VOFloat\Mixin |
|
17 | 17 | */ |
18 | 18 | public static function fromVOFloat(VOFloat $voFloat); |
19 | 19 |
@@ -100,7 +100,7 @@ |
||
100 | 100 | } |
101 | 101 | |
102 | 102 | /** |
103 | - * @return static |
|
103 | + * @return Json |
|
104 | 104 | */ |
105 | 105 | public function toVOJson() |
106 | 106 | { |
@@ -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 | } |