revert auto load Console commands

This commit is contained in:
Asnxthaony 2023-05-30 15:09:39 +08:00
parent 169ca11030
commit d96dff1144
No known key found for this signature in database
GPG Key ID: 6537C59306464F54

View File

@ -6,11 +6,13 @@ use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel class Kernel extends ConsoleKernel
{ {
/** protected $commands = [
* Register the commands for the application. \Laravel\Passport\Console\KeysCommand::class,
*/ Commands\BsInstallCommand::class,
protected function commands(): void Commands\OptionsCacheCommand::class,
{ Commands\PluginDisableCommand::class,
$this->load(__DIR__.'/Commands'); Commands\PluginEnableCommand::class,
} Commands\SaltRandomCommand::class,
Commands\UpdateCommand::class,
];
} }