Skip to content

Commit

Permalink
Added missing getter
Browse files Browse the repository at this point in the history
  • Loading branch information
sergix44 committed Nov 30, 2018
1 parent 791cdaf commit 4dbfa5c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/Web/Lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ public static function recognize()
return substr(@$_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
}

/**
* @return string
*/
public static function getLang(): string
{
return self::$lang;
}


/**
* @param $key
Expand Down

0 comments on commit 4dbfa5c

Please sign in to comment.