Modernize property declarations in pocketmine\crafting namespace

This commit is contained in:
Dylan K. Taylor
2022-04-25 13:15:48 +01:00
parent dca457b1e0
commit b402df8b91
6 changed files with 22 additions and 38 deletions

View File

@ -34,16 +34,14 @@ use function strpos;
class ShapedRecipe implements CraftingRecipe{
/** @var string[] */
private $shape = [];
private array $shape = [];
/** @var Item[] char => Item map */
private $ingredientList = [];
private array $ingredientList = [];
/** @var Item[] */
private $results = [];
private array $results = [];
/** @var int */
private $height;
/** @var int */
private $width;
private int $height;
private int $width;
/**
* Constructs a ShapedRecipe instance.