mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Modernize private property declarations in src/item
This commit is contained in:
@ -28,9 +28,7 @@ use pocketmine\block\utils\DyeColor;
|
||||
use pocketmine\block\VanillaBlocks;
|
||||
|
||||
class Bed extends Item{
|
||||
|
||||
/** @var DyeColor */
|
||||
private $color;
|
||||
private DyeColor $color;
|
||||
|
||||
public function __construct(ItemIdentifier $identifier, string $name, DyeColor $color){
|
||||
parent::__construct($identifier, $name);
|
||||
|
Reference in New Issue
Block a user