diff --git a/src/Application.php b/src/Application.php index d7080ed..9af0ae1 100644 --- a/src/Application.php +++ b/src/Application.php @@ -86,8 +86,7 @@ public function run(): void public function generateReadCredentials(): array { $sapi = $this->initSapi(); - /** @var string */ - $backupId = $this->config->getBackupId() !== '' ? $this->config->getBackupId() : $sapi->generateId(); + $backupId = $this->config->getBackupId() ?: $sapi->generateId(); if ($this->config->isUserDefinedCredentials()) { $path = $this->config->getPath(); } else {