mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Use typed properties in block namespace
This commit is contained in:
@ -27,17 +27,11 @@ use pocketmine\block\tile\Tile;
|
||||
|
||||
class BlockIdentifier{
|
||||
|
||||
/** @var int */
|
||||
private $blockId;
|
||||
/** @var int */
|
||||
private $variant;
|
||||
/** @var int|null */
|
||||
private $itemId;
|
||||
/**
|
||||
* @var string|null
|
||||
* @phpstan-var class-string<Tile>|null
|
||||
*/
|
||||
private $tileClass;
|
||||
private int $blockId;
|
||||
private int $variant;
|
||||
private ?int $itemId;
|
||||
/** @phpstan-var class-string<Tile>|null */
|
||||
private ?string $tileClass;
|
||||
|
||||
/**
|
||||
* @phpstan-param class-string<Tile>|null $tileClass
|
||||
|
Reference in New Issue
Block a user