Skip to content

Commit b51a20e

Browse files
committed
Moved phpcs supression
1 parent db15184 commit b51a20e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TwoFactorAuth/Model/AdminAccessTokenService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ public function createAdminAccessToken($username, $password): string
9090
}
9191

9292
if (!$this->configRequestManager->isConfigurationRequiredFor($userId)) {
93-
// phpcs:ignore Magento2.Functions.DiscouragedFunction
9493
throw new LocalizedException(
94+
// phpcs:ignore Magento2.Functions.DiscouragedFunction
9595
call_user_func(
9696
'__',
9797
'Please use the 2fa provider-specific endpoints to obtain a token.',

0 commit comments

Comments
 (0)