mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
More nullable and void typehints
This commit is contained in:
@ -160,7 +160,7 @@ class Language{
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
protected function internalGet(string $id){
|
||||
protected function internalGet(string $id) : ?string{
|
||||
return $this->lang[$id] ?? $this->fallbackLang[$id] ?? null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user