Modernize private property declarations in src/item

This commit is contained in:
Dylan K. Taylor
2022-05-17 20:59:24 +01:00
parent fb4d332d1a
commit 95ad3f16e1
21 changed files with 44 additions and 100 deletions

View File

@ -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());