@@ -96,7 +96,7 @@ |
||
96 | 96 | { |
97 | 97 | $parsed = array_merge([ |
98 | 98 | 'data-type' => 'numeric', |
99 | - 'info-type' => empty($meta['type'])? 'generic' : $meta['type'], |
|
99 | + 'info-type' => empty($meta['type']) ? 'generic' : $meta['type'], |
|
100 | 100 | 'strict' => true, |
101 | 101 | ], $meta); |
102 | 102 |
@@ -140,7 +140,7 @@ |
||
140 | 140 | */ |
141 | 141 | protected function getFormatMapper(array $data, $type) |
142 | 142 | { |
143 | - return function ($meta, $field) use ($data, $type) { |
|
143 | + return function($meta, $field) use ($data, $type) { |
|
144 | 144 | $value = empty($data[$field]) ? '' : $data[$field]; |
145 | 145 | $method = 'mutate' . ucfirst($type) . ucfirst($field); |
146 | 146 |
@@ -100,7 +100,7 @@ |
||
100 | 100 | */ |
101 | 101 | protected function generate() |
102 | 102 | { |
103 | - $lines = array_map(function ($line) { |
|
103 | + $lines = array_map(function($line) { |
|
104 | 104 | return implode('', $line); |
105 | 105 | }, $this->getLines()); |
106 | 106 |
@@ -105,7 +105,7 @@ |
||
105 | 105 | */ |
106 | 106 | protected function getParseMapper($data) |
107 | 107 | { |
108 | - return function ($meta) use ($data) { |
|
108 | + return function($meta) use ($data) { |
|
109 | 109 | return $this->picture->from($meta['pic'], $data, $meta); |
110 | 110 | }; |
111 | 111 | } |