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

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