mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +00:00
Modernize private property declarations in src/item
This commit is contained in:
@@ -32,8 +32,7 @@ abstract class Durable extends Item{
|
||||
|
||||
/** @var int */
|
||||
protected $damage = 0;
|
||||
/** @var bool */
|
||||
private $unbreakable = false;
|
||||
private bool $unbreakable = false;
|
||||
|
||||
public function getMeta() : int{
|
||||
return $this->damage;
|
||||
|
Reference in New Issue
Block a user