ProcessCommand: Define $name in method scope

- Fixes variable is probably undefined
This commit is contained in:
Sukhwinder Dhillon 2023-08-14 11:02:08 +02:00
parent 6306b5306c
commit 5899aa96ef

View file

@ -110,8 +110,8 @@ class ProcessCommand extends Command
exit(1);
}
$name = $this->params->get('config');
try {
$name = $this->params->get('config');
if ($name === null) {
$name = $this->getFirstProcessName();
}