mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
populate missing array value types in lang namespace
This commit is contained in:
@@ -43,6 +43,9 @@ class BaseLang{
|
|||||||
|
|
||||||
public const FALLBACK_LANGUAGE = "eng";
|
public const FALLBACK_LANGUAGE = "eng";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string[]
|
||||||
|
*/
|
||||||
public static function getLanguageList(string $path = "") : array{
|
public static function getLanguageList(string $path = "") : array{
|
||||||
if($path === ""){
|
if($path === ""){
|
||||||
$path = \pocketmine\PATH . "src/pocketmine/lang/locale/";
|
$path = \pocketmine\PATH . "src/pocketmine/lang/locale/";
|
||||||
|
Reference in New Issue
Block a user