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:
@@ -29,10 +29,9 @@ use function array_flip;
|
||||
use function floor;
|
||||
|
||||
class ProtectionEnchantment extends Enchantment{
|
||||
/** @var float */
|
||||
protected $typeModifier;
|
||||
protected float $typeModifier;
|
||||
/** @var int[]|null */
|
||||
protected $applicableDamageTypes = null;
|
||||
protected ?array $applicableDamageTypes = null;
|
||||
|
||||
/**
|
||||
* ProtectionEnchantment constructor.
|
||||
|
Reference in New Issue
Block a user