mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Modernize property type declarations
This commit is contained in:
@ -32,11 +32,9 @@ class ArmorInventory extends SimpleInventory{
|
||||
public const SLOT_LEGS = 2;
|
||||
public const SLOT_FEET = 3;
|
||||
|
||||
/** @var Living */
|
||||
protected $holder;
|
||||
|
||||
public function __construct(Living $holder){
|
||||
$this->holder = $holder;
|
||||
public function __construct(
|
||||
protected Living $holder
|
||||
){
|
||||
parent::__construct(4);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user