mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Declare PasswordEncryptor_Blowfish::get_cost() as static
This commit is contained in:
parent
5062bb8ff5
commit
8b2cb9a7d9
@ -167,7 +167,7 @@ class PasswordEncryptor_Blowfish extends PasswordEncryptor {
|
||||
* @param int $cost
|
||||
* @return null
|
||||
*/
|
||||
public function get_cost() {
|
||||
public static function get_cost() {
|
||||
return self::$cost;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user