Modernize property declarations in pocketmine\block namespace

This commit is contained in:
Dylan K. Taylor
2022-04-25 13:00:29 +01:00
parent 09778e3f1b
commit 72cff0ee11
23 changed files with 80 additions and 139 deletions

View File

@ -35,11 +35,8 @@ class Hopper extends Spawnable implements Container, Nameable{
private const TAG_TRANSFER_COOLDOWN = "TransferCooldown";
/** @var HopperInventory */
private $inventory;
/** @var int */
private $transferCooldown = 0;
private HopperInventory $inventory;
private int $transferCooldown = 0;
public function __construct(World $world, Vector3 $pos){
parent::__construct($world, $pos);