Documentation: Fix `Variable '$obj' is probably undefined`

This commit is contained in:
Sukhwinder Dhillon 2023-08-15 17:19:03 +02:00 committed by raviks789
parent a4744833bc
commit d13f52c1b2
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ class Documentation
return "The '$module' module does not provide any CLI commands\n"; return "The '$module' module does not provide any CLI commands\n";
} }
$d = ''; $d = '';
$obj = null;
if ($command) { if ($command) {
$obj = $this->loader->getModuleCommandInstance($module, $command); $obj = $this->loader->getModuleCommandInstance($module, $command);
} }