mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 01:16:15 +00:00
Modernize property declarations in src/world/generator
This commit is contained in:
@ -37,7 +37,7 @@ final class GeneratorManager{
|
||||
* @var GeneratorManagerEntry[] name => classname mapping
|
||||
* @phpstan-var array<string, GeneratorManagerEntry>
|
||||
*/
|
||||
private $list = [];
|
||||
private array $list = [];
|
||||
|
||||
public function __construct(){
|
||||
$this->addGenerator(Flat::class, "flat", \Closure::fromCallable(function(string $preset) : ?InvalidGeneratorOptionsException{
|
||||
|
Reference in New Issue
Block a user