Modernize property type declarations

This commit is contained in:
Dylan K. Taylor
2022-06-04 18:16:32 +01:00
parent 23695fb900
commit 083a35f970
114 changed files with 431 additions and 863 deletions

View File

@ -44,10 +44,8 @@ class Chest extends Spawnable implements Container, Nameable{
public const TAG_PAIRZ = "pairz";
public const TAG_PAIR_LEAD = "pairlead";
/** @var ChestInventory */
protected $inventory;
/** @var DoubleChestInventory|null */
protected $doubleInventory = null;
protected ChestInventory $inventory;
protected ?DoubleChestInventory $doubleInventory = null;
private ?int $pairX = null;
private ?int $pairZ = null;