Quote $default in PostgresUpdater::setDefault
[lhc/web/wiklou.git] / includes / password / BcryptPassword.php
index 4e5e878..f811e3f 100644 (file)
  * A Bcrypt-hashed password
  *
  * This is a computationally complex password hash for use in modern applications.
- * The number of rounds can be configured by $wgPasswordCost.
+ * The number of rounds can be configured by $wgPasswordConfig['bcrypt']['cost'].
  *
  * @since 1.24
  */
 class BcryptPassword extends ParameterizedPassword {
        protected function getDefaultParams() {
-               return array(
+               return [
                        'rounds' => $this->config['cost'],
-               );
+               ];
        }
 
        protected function getDelimiter() {