From 4c7cd3cfa90a14ac98e455bc8498fd26a931ccbf Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Sun, 9 Aug 2026 10:29:04 +0200 Subject: [PATCH] chore(commands): Adapt execute method to new signature Signed-off-by: Carl Schwan --- lib/Command/SelfTest.php | 2 +- lib/Command/Setup.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);