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

@ -33,10 +33,8 @@ use pocketmine\world\sound\Sound;
class DoubleChestInventory extends BaseInventory implements BlockInventory, InventoryHolder{
use AnimatedBlockInventoryTrait;
/** @var ChestInventory */
private $left;
/** @var ChestInventory */
private $right;
private ChestInventory $left;
private ChestInventory $right;
public function __construct(ChestInventory $left, ChestInventory $right){
$this->left = $left;