@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | */ |
86 | 86 | private function convertLineValuesToArray() |
87 | 87 | { |
88 | - return array_map(function ($line) { |
|
88 | + return array_map(function($line) { |
|
89 | 89 | return preg_split('/=/', $line, 2); |
90 | 90 | }, $this->linesFromFile()); |
91 | 91 | } |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | */ |
98 | 98 | private function mapLineValuesAndKeys() |
99 | 99 | { |
100 | - return array_map(function ($line) { |
|
100 | + return array_map(function($line) { |
|
101 | 101 | if (count($line) === 2) { |
102 | 102 | return [$line[0] => $line[1]]; |
103 | 103 | } |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | */ |
28 | 28 | public function load($path) |
29 | 29 | { |
30 | - if (! file_exists($path)) { |
|
30 | + if (!file_exists($path)) { |
|
31 | 31 | throw new InvalidArgumentException(sprintf('%s does not exist', $path)); |
32 | 32 | } |
33 | 33 | |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | */ |
117 | 117 | public function heading($heading) |
118 | 118 | { |
119 | - if (! empty(end($this->env))) { |
|
119 | + if (!empty(end($this->env))) { |
|
120 | 120 | $this->addEmptyLine(); |
121 | 121 | } |
122 | 122 | |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | */ |
151 | 151 | private function format() |
152 | 152 | { |
153 | - $valuePairs = Arr::mapWithKeys($this->env, function ($item, $key) { |
|
153 | + $valuePairs = Arr::mapWithKeys($this->env, function($item, $key) { |
|
154 | 154 | return is_string($key) |
155 | 155 | ? sprintf('%s=%s', $key, $item) |
156 | 156 | : $item; |