From 67a155984c2d9d6a0e1750cf93b9c92436290066 Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 17 Jan 2024 10:59:40 -0500 Subject: [PATCH] Update Command/Log: add type declarations Signed-off-by: Josh --- lib/Command/Log.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Command/Log.php b/lib/Command/Log.php index d4d18b4d..95e66355 100644 --- a/lib/Command/Log.php +++ b/lib/Command/Log.php @@ -43,7 +43,7 @@ public function __construct( /** * @return void */ - protected function configure() { + protected function configure(): void { $this ->setName('notify_push:log') ->setDescription('Temporarily set the log level of the push server') @@ -52,7 +52,7 @@ protected function configure() { parent::configure(); } - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { $level = $input->getArgument("level"); if ($input->getOption("restore")) { $output->writeln("restoring log level");