Modernize private property declarations in src/data

This commit is contained in:
Dylan K. Taylor
2022-05-17 20:35:59 +01:00
parent d11d77d328
commit 343a12626e
5 changed files with 10 additions and 10 deletions

View File

@ -36,13 +36,13 @@ final class EffectIdMap{
* @var Effect[]
* @phpstan-var array<int, Effect>
*/
private $idToEffect = [];
private array $idToEffect = [];
/**
* @var int[]
* @phpstan-var array<int, int>
*/
private $effectToId = [];
private array $effectToId = [];
private function __construct(){
$this->register(EffectIds::SPEED, VanillaEffects::SPEED());