Skip to content

Commit b7c1a37

Browse files
taylorotwelldriesvints
authored andcommitted
formatting
1 parent 1006b3e commit b7c1a37

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/Illuminate/Console/Command.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,13 @@ protected function createInputFromArguments(array $arguments)
238238
*/
239239
protected function context()
240240
{
241-
$options = Arr::only($this->option(), ['no-interaction', 'ansi', 'no-ansi', 'quiet', 'verbose']);
242-
243-
return collect($options)->mapWithKeys(function ($value, $key) {
241+
return collect(Arr::only($this->option(), [
242+
'ansi',
243+
'no-ansi',
244+
'no-interaction',
245+
'quiet',
246+
'verbose'
247+
]))->mapWithKeys(function ($value, $key) {
244248
return ["--{$key}" => $value];
245249
})->filter()->all();
246250
}

0 commit comments

Comments
 (0)