Merge pull request #320 from Boy132/fix/artisan-call

Fix artisan call in AppSettingsCommand
This commit is contained in:
Lance Pioch 2024-06-03 10:33:00 -04:00 committed by GitHub
commit 51b217571b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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', [
'--use-redis' => $redisUsed,
]);
} }
$this->info($this->console->output()); $this->info($this->console->output());
@ -127,7 +129,7 @@ class AppSettingsCommand extends Command
} }
/** /**
* Request connection details and verify them. * Request redis connection details and verify them.
*/ */
private function requestRedisSettings(): void private function requestRedisSettings(): void
{ {