summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/lib/BackgroundJob
diff options
context:
space:
mode:
Diffstat (limited to 'apps/twofactor_backupcodes/lib/BackgroundJob')
-rw-r--r--apps/twofactor_backupcodes/lib/BackgroundJob/CheckBackupCodes.php2
-rw-r--r--apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/twofactor_backupcodes/lib/BackgroundJob/CheckBackupCodes.php b/apps/twofactor_backupcodes/lib/BackgroundJob/CheckBackupCodes.php
index a2e9a154d9f..61dbffb3214 100644
--- a/apps/twofactor_backupcodes/lib/BackgroundJob/CheckBackupCodes.php
+++ b/apps/twofactor_backupcodes/lib/BackgroundJob/CheckBackupCodes.php
@@ -57,7 +57,7 @@ class CheckBackupCodes extends QueuedJob {
}
protected function run($argument) {
- $this->userManager->callForSeenUsers(function(IUser $user) {
+ $this->userManager->callForSeenUsers(function (IUser $user) {
$providers = $this->registry->getProviderStates($user);
$isTwoFactorAuthenticated = $this->twofactorManager->isTwoFactorAuthenticated($user);
diff --git a/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php b/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php
index 7182ad561aa..4877be9fa37 100644
--- a/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php
+++ b/apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php
@@ -72,7 +72,7 @@ class RememberBackupCodesJob extends TimedJob {
}
$providers = $this->registry->getProviderStates($user);
- $state2fa = array_reduce($providers, function(bool $carry, bool $state) {
+ $state2fa = array_reduce($providers, function (bool $carry, bool $state) {
return $carry || $state;
}, false);