diff --git a/lib/Command/SelfTest.php b/lib/Command/SelfTest.php index 7e093ca..525b770 100644 --- a/lib/Command/SelfTest.php +++ b/lib/Command/SelfTest.php @@ -37,7 +37,7 @@ protected function configure() { parent::configure(); } - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { $server = $this->config->getAppValue('notify_push', 'base_endpoint', ''); if (!$server) { $output->writeln('🗴 no push server configured'); diff --git a/lib/Command/Setup.php b/lib/Command/Setup.php index 501bf55..216b2bd 100644 --- a/lib/Command/Setup.php +++ b/lib/Command/Setup.php @@ -42,7 +42,7 @@ protected function configure() { parent::configure(); } - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { $server = $input->getArgument('server'); if ($server) { $result = $this->test->test($server, $output);