@@ -57,11 +57,11 @@ discard block |
||
| 57 | 57 | |
| 58 | 58 | protected function execute(InputInterface $input, OutputInterface $output): int { |
| 59 | 59 | $appId = $input->getArgument('app-id'); |
| 60 | - $forceEnable = (bool)$input->getOption('force'); |
|
| 60 | + $forceEnable = (bool) $input->getOption('force'); |
|
| 61 | 61 | |
| 62 | 62 | try { |
| 63 | 63 | $this->appManager->getAppPath($appId); |
| 64 | - $output->writeln($appId . ' already installed'); |
|
| 64 | + $output->writeln($appId.' already installed'); |
|
| 65 | 65 | return 1; |
| 66 | 66 | } catch (AppPathNotFoundException) { |
| 67 | 67 | } |
@@ -70,16 +70,16 @@ discard block |
||
| 70 | 70 | $this->installer->downloadApp($appId, $input->getOption('allow-unstable')); |
| 71 | 71 | $result = $this->installer->installApp($appId, $forceEnable); |
| 72 | 72 | } catch (\Exception $e) { |
| 73 | - $output->writeln('Error: ' . $e->getMessage()); |
|
| 73 | + $output->writeln('Error: '.$e->getMessage()); |
|
| 74 | 74 | return 1; |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | $appVersion = $this->appManager->getAppVersion($appId); |
| 78 | - $output->writeln($appId . ' ' . $appVersion . ' installed'); |
|
| 78 | + $output->writeln($appId.' '.$appVersion.' installed'); |
|
| 79 | 79 | |
| 80 | 80 | if (!$input->getOption('keep-disabled')) { |
| 81 | 81 | $this->appManager->enableApp($appId); |
| 82 | - $output->writeln($appId . ' enabled'); |
|
| 82 | + $output->writeln($appId.' enabled'); |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | return 0; |