From 3b5f20aa96a94421741288e207775d3e150cab5f Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Wed, 14 Apr 2021 18:16:13 +0200 Subject: [PATCH] Add missing "static" keyword in MD_STD --- src/MD_STD.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MD_STD.php b/src/MD_STD.php index a3500b2..82e9694 100644 --- a/src/MD_STD.php +++ b/src/MD_STD.php @@ -342,7 +342,7 @@ final class MD_STD { * * @return string */ - public function get_user_lang(array $allowed_langs, string $default_lang):string { + public static function get_user_lang(array $allowed_langs, string $default_lang):string { $cookie_options = [ 'expires' => self::strtotime("+1 month"),