mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
Modernize property type declarations
This commit is contained in:
@@ -29,9 +29,7 @@ use function lcg_value;
|
||||
use function min;
|
||||
|
||||
abstract class Durable extends Item{
|
||||
|
||||
/** @var int */
|
||||
protected $damage = 0;
|
||||
protected int $damage = 0;
|
||||
private bool $unbreakable = false;
|
||||
|
||||
public function getMeta() : int{
|
||||
|
||||
Reference in New Issue
Block a user