@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | */ |
80 | 80 | public function getHttpBootstrappers(): array |
81 | 81 | { |
82 | - $callback = function (array $modules) { |
|
82 | + $callback = function(array $modules) { |
|
83 | 83 | $bootstrappers = []; |
84 | 84 | foreach ($modules as $module) { |
85 | 85 | if (isset($module[Module::BOOTSTRAPPERS])) { |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | */ |
102 | 102 | public function getCliBootstrappers(): array |
103 | 103 | { |
104 | - $callback = function (array $modules) { |
|
104 | + $callback = function(array $modules) { |
|
105 | 105 | $bootstrappers = []; |
106 | 106 | foreach ($modules as $module) { |
107 | 107 | if (isset($module[Module::BOOTSTRAPPERS])) { |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | */ |
124 | 124 | public function getCommands(): array |
125 | 125 | { |
126 | - $callback = function (array $modules) { |
|
126 | + $callback = function(array $modules) { |
|
127 | 127 | $commands = []; |
128 | 128 | foreach ($modules as $module) { |
129 | 129 | if (isset($module[Module::COMMANDS])) { |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | */ |
204 | 204 | protected function simpleOptionCallback(string $option): callable |
205 | 205 | { |
206 | - return function ($modules) use ($option) { |
|
206 | + return function($modules) use ($option) { |
|
207 | 207 | $merged = []; |
208 | 208 | foreach ($modules as $module) { |
209 | 209 | if (!isset($module[$option])) { |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | */ |
231 | 231 | protected function simpleNamedOptions(string $option): callable |
232 | 232 | { |
233 | - return function ($modules) use ($option) { |
|
233 | + return function($modules) use ($option) { |
|
234 | 234 | $merged = []; |
235 | 235 | foreach ($modules as $module) { |
236 | 236 | if (!isset($module[$option])) { |
@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | */ |
260 | 260 | protected function namedOptionsCallback(string $option): callable |
261 | 261 | { |
262 | - return function ($modules) use ($option) { |
|
262 | + return function($modules) use ($option) { |
|
263 | 263 | $merged = []; |
264 | 264 | foreach ($modules as $module) { |
265 | 265 | if (!isset($module[$option])) { |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | */ |
293 | 293 | protected function prioritizedOptionsCallback(string $option, bool $reversed = false): callable |
294 | 294 | { |
295 | - return function ($modules) use ($option, $reversed) { |
|
295 | + return function($modules) use ($option, $reversed) { |
|
296 | 296 | $merged = []; |
297 | 297 | foreach ($modules as $module) { |
298 | 298 | if (!isset($module[$option])) { |