fill in more iterable types (master)

This commit is contained in:
Dylan K. Taylor
2020-02-01 20:19:57 +00:00
parent 200209b76c
commit ff63f6d055
26 changed files with 121 additions and 3 deletions

View File

@@ -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)){