aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/TwoFactorAuth/State.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/TwoFactorAuth/State.php')
-rw-r--r--core/Command/TwoFactorAuth/State.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/TwoFactorAuth/State.php b/core/Command/TwoFactorAuth/State.php
index 0e02e6d24b8..bab47002f8a 100644
--- a/core/Command/TwoFactorAuth/State.php
+++ b/core/Command/TwoFactorAuth/State.php
@@ -63,7 +63,7 @@ class State extends Base {
$providerStates = $this->registry->getProviderStates($user);
$filtered = $this->filterEnabledDisabledUnknownProviders($providerStates);
- list($enabled, $disabled) = $filtered;
+ [$enabled, $disabled] = $filtered;
if (!empty($enabled)) {
$output->writeln("Two-factor authentication is enabled for user $uid");