mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +00:00
Modernize property type declarations
This commit is contained in:
@@ -42,8 +42,7 @@ class Armor extends Durable{
|
||||
|
||||
private ArmorTypeInfo $armorInfo;
|
||||
|
||||
/** @var Color|null */
|
||||
protected $customColor = null;
|
||||
protected ?Color $customColor = null;
|
||||
|
||||
public function __construct(ItemIdentifier $identifier, string $name, ArmorTypeInfo $info){
|
||||
parent::__construct($identifier, $name);
|
||||
|
Reference in New Issue
Block a user