Fix some strict type violations reported by PhpStorm (strict types <3)

This commit is contained in:
Dylan K. Taylor
2017-06-04 09:50:49 +01:00
parent b775e8c88a
commit cf07af8b55
6 changed files with 18 additions and 17 deletions

View File

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