fix artisan call in app settings command

This commit is contained in:
Boy132 2024-06-03 13:43:11 +02:00
parent f6ef76d98e
commit e22c5c3e0a

View File

@ -118,7 +118,9 @@ class AppSettingsCommand extends Command
} }
if ($this->variables['QUEUE_CONNECTION'] !== 'sync') { if ($this->variables['QUEUE_CONNECTION'] !== 'sync') {
Artisan::call('p:environment:queue-service', $redisUsed ? ['--use-redis'] : []); Artisan::call('p:environment:queue-service', $redisUsed ? [
'--use-redis' => true,
] : []);
} }
$this->info($this->console->output()); $this->info($this->console->output());