mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Modernize private property declarations in src/item
This commit is contained in:
@ -30,8 +30,7 @@ use pocketmine\block\BlockFactory;
|
||||
* Class used for Items that can be Blocks
|
||||
*/
|
||||
class ItemBlock extends Item{
|
||||
/** @var int */
|
||||
private $blockFullId;
|
||||
private int $blockFullId;
|
||||
|
||||
public function __construct(ItemIdentifier $identifier, Block $block){
|
||||
parent::__construct($identifier, $block->getName());
|
||||
|
Reference in New Issue
Block a user