mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
fill in more iterable types (master)
This commit is contained in:
@@ -109,6 +109,10 @@ class Language{
|
||||
return $this->langName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
* @phpstan-return array<string, string>
|
||||
*/
|
||||
protected static function loadLang(string $path, string $languageCode) : array{
|
||||
$file = $path . $languageCode . ".ini";
|
||||
if(file_exists($file)){
|
||||
|
Reference in New Issue
Block a user