Skip to content

Commit 1006b3e

Browse files
GrahamCampbelldriesvints
authored andcommitted
Filter out the defaults
1 parent e346b19 commit 1006b3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Console/Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ protected function context()
242242

243243
return collect($options)->mapWithKeys(function ($value, $key) {
244244
return ["--{$key}" => $value];
245-
})->all();
245+
})->filter()->all();
246246
}
247247

248248
/**

0 commit comments

Comments
 (0)