diff options
Diffstat (limited to 'core/Command/TwoFactorAuth/Enable.php')
-rw-r--r-- | core/Command/TwoFactorAuth/Enable.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/Command/TwoFactorAuth/Enable.php b/core/Command/TwoFactorAuth/Enable.php index 0c2aef540e9..1346c6c5df8 100644 --- a/core/Command/TwoFactorAuth/Enable.php +++ b/core/Command/TwoFactorAuth/Enable.php @@ -20,7 +20,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/> * */ - namespace OC\Core\Command\TwoFactorAuth; use OC\Authentication\TwoFactorAuth\ProviderManager; @@ -52,7 +51,7 @@ class Enable extends Base { $this->addArgument('provider_id', InputArgument::REQUIRED); } - protected function execute(InputInterface $input, OutputInterface $output) { + protected function execute(InputInterface $input, OutputInterface $output): int { $uid = $input->getArgument('uid'); $providerId = $input->getArgument('provider_id'); $user = $this->userManager->get($uid); @@ -68,5 +67,4 @@ class Enable extends Base { return 2; } } - } |