We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ce908b commit 882c306Copy full SHA for 882c306
src/Kernel.php
@@ -63,7 +63,7 @@ class Kernel extends BaseKernel
63
* @var string[]
64
*/
65
protected $hiddenCommands = [
66
- // ...
+ ConfigPublishCommand::class,
67
];
68
69
/**
@@ -230,7 +230,10 @@ function ($artisan) use ($commands) {
230
231
Artisan::starting(
232
function ($artisan) use ($config) {
233
- $commands = $config->get('commands.hidden', $this->hiddenCommands);
+ $commands = array_merge(
234
+ $config->get('commands.hidden'),
235
+ $this->hiddenCommands,
236
+ );
237
238
collect($artisan->all())->each(
239
function ($command) use ($artisan, $commands) {
0 commit comments