From 4dbfa5cd23fe78f3321edfa4fdce0020294539bc Mon Sep 17 00:00:00 2001 From: Sergio Brighenti Date: Fri, 30 Nov 2018 21:36:12 +0100 Subject: [PATCH] Added missing getter --- app/Web/Lang.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/Web/Lang.php b/app/Web/Lang.php index 770f38a..0e3e075 100644 --- a/app/Web/Lang.php +++ b/app/Web/Lang.php @@ -66,6 +66,14 @@ class Lang return substr(@$_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); } + /** + * @return string + */ + public static function getLang(): string + { + return self::$lang; + } + /** * @param $key