mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-27 16:36:00 +00:00
Modernize to PHP 7.4
This commit is contained in:
parent
ce8ed589d5
commit
4168727f36
21 changed files with 31 additions and 75 deletions
|
@ -367,9 +367,7 @@ class ConfigController extends AbstractController
|
|||
|
||||
$backupCodes = (new BackupCodes())->toArray();
|
||||
$backupCodesHashed = array_map(
|
||||
function ($backupCode) {
|
||||
return password_hash($backupCode, \PASSWORD_DEFAULT);
|
||||
},
|
||||
fn ($backupCode) => password_hash($backupCode, \PASSWORD_DEFAULT),
|
||||
$backupCodes
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue