@@ -39,7 +39,7 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function returning($path, $bank = null) |
| 41 | 41 | { |
| 42 | - $bank = $bank?: Inspector::bankNumberOf($path); |
|
| 42 | + $bank = $bank ?: Inspector::bankNumberOf($path); |
|
| 43 | 43 | $bankNs = $this->discoverBankNamespace($bank, 'Returning'); |
| 44 | 44 | $version = Inspector::fileVersionOf($path); |
| 45 | 45 | $file = "File{$version}"; |
@@ -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 | |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | { |
| 48 | 48 | $details = array_slice($this->lines, 1, count($this->lines) - 2); |
| 49 | 49 | |
| 50 | - return array_map(function ($detail) { |
|
| 50 | + return array_map(function($detail) { |
|
| 51 | 51 | return (object) $this->parseLine($detail); |
| 52 | 52 | }, $details); |
| 53 | 53 | } |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | */ |
| 95 | 95 | protected function getParseMapper($data) |
| 96 | 96 | { |
| 97 | - return function ($meta) use ($data) { |
|
| 97 | + return function($meta) use ($data) { |
|
| 98 | 98 | return $this->picture->from($meta['pic'], $data, $meta); |
| 99 | 99 | }; |
| 100 | 100 | } |