mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fix some strict type violations reported by PhpStorm (strict types <3)
This commit is contained in:
@ -231,7 +231,7 @@ class LevelDB extends BaseLevelProvider{
|
||||
}
|
||||
|
||||
public function getGenerator() : string{
|
||||
return $this->levelData["generatorName"];
|
||||
return (string) $this->levelData["generatorName"];
|
||||
}
|
||||
|
||||
public function getGeneratorOptions() : array{
|
||||
|
Reference in New Issue
Block a user