X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fpassword%2FPbkdf2Password.php;h=8ef6f8de280b9de5c657ab652d92b89ebc5ff35e;hp=080e3b0ddb2a9769e08414bcc05567128024c0bb;hb=e3bd13db0c285f312e31bb1b7271af4628cca80c;hpb=977b5ea0e090b8a7e8471ffd655427a824e7b0c7 diff --git a/includes/password/Pbkdf2Password.php b/includes/password/Pbkdf2Password.php index 080e3b0ddb..8ef6f8de28 100644 --- a/includes/password/Pbkdf2Password.php +++ b/includes/password/Pbkdf2Password.php @@ -30,11 +30,11 @@ */ class Pbkdf2Password extends ParameterizedPassword { protected function getDefaultParams() { - return array( + return [ 'algo' => $this->config['algo'], 'rounds' => $this->config['cost'], 'length' => $this->config['length'] - ); + ]; } protected function getDelimiter() {