From 5e856b6a79d229b32dcb0045863a620bf2807ec3 Mon Sep 17 00:00:00 2001 From: Seungmin Kim <8457324+ehfd@users.noreply.github.com> Date: Mon, 2 Dec 2024 03:12:13 +0900 Subject: [PATCH] Fix linting issues Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com> --- core/Command/Integrity/CheckApp.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/Command/Integrity/CheckApp.php b/core/Command/Integrity/CheckApp.php index ce658ec16dabb..b5706b2b24ef5 100644 --- a/core/Command/Integrity/CheckApp.php +++ b/core/Command/Integrity/CheckApp.php @@ -47,7 +47,10 @@ protected function configure() { */ protected function execute(InputInterface $input, OutputInterface $output): int { $appid = $input->getArgument('appid'); - $path = (string)$input->getOption('path') ?? $this->appLocator->getAppPath($appid); + $path = (string)$input->getOption('path'); + if ($path === '') { + $path = $this->appLocator->getAppPath($appid); + } if ($this->fileAccessHelper->file_exists($path . '/appinfo/signature.json')) { // Only verify if the application explicitly ships a signature.json file $result = $this->checker->verifyAppSignature($appid, $path, true);