From ab21d69903c4360cbce59741624b6e765e3bd35f Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 26 Jun 2020 14:54:51 +0200 Subject: Add return value to all commands Signed-off-by: Joas Schilling --- core/Command/TwoFactorAuth/State.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Command/TwoFactorAuth/State.php') diff --git a/core/Command/TwoFactorAuth/State.php b/core/Command/TwoFactorAuth/State.php index 438a272223f..5784853d60a 100644 --- a/core/Command/TwoFactorAuth/State.php +++ b/core/Command/TwoFactorAuth/State.php @@ -52,7 +52,7 @@ class State extends Base { $this->addArgument('uid', InputArgument::REQUIRED); } - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { $uid = $input->getArgument('uid'); $user = $this->userManager->get($uid); if (is_null($user)) { -- cgit v1.2.3