1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-07-29 22:41:11 +03:00

tighten psalm checks; fix errors

This commit is contained in:
David Goodwin
2019-09-17 20:55:14 +01:00
parent 034a50836c
commit 34e6f7829e
4 changed files with 22 additions and 29 deletions

View File

@ -167,10 +167,7 @@ class PostfixAdmin {
return 1;
}
$command = 'help'; # not the worst default ;-)
if (isset($this->args[0])) {
$command = $this->args[0];
}
$command = $this->args[0];
$this->shellCommand = $command;
$this->shellClass = 'Cli' . ucfirst($command);