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

@ -49,10 +49,8 @@ class Chest extends Spawnable implements Container, Nameable{
/** @var DoubleChestInventory|null */
protected $doubleInventory = null;
/** @var int|null */
private $pairX;
/** @var int|null */
private $pairZ;
private ?int $pairX = null;
private ?int $pairZ = null;
public function __construct(World $world, Vector3 $pos){
parent::__construct($world, $pos);