More PHP 8 syntactic sugar

This commit is contained in:
Alejandro Celaya
2021-05-23 12:37:53 +02:00
parent c01121d61a
commit 9c6ba4bc61
9 changed files with 27 additions and 12 deletions

View File

@@ -69,7 +69,7 @@ class DownloadGeoLiteDbCommand extends Command
}
if ($io->isVerbose()) {
$this->getApplication()->renderThrowable($e, $io);
$this->getApplication()?->renderThrowable($e, $io);
}
return $olderDbExists ? ExitCodes::EXIT_WARNING : ExitCodes::EXIT_FAILURE;