mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Modernize property type declarations
This commit is contained in:
@ -34,7 +34,7 @@ use function spl_object_id;
|
||||
*/
|
||||
trait ItemEnchantmentHandlingTrait{
|
||||
/** @var EnchantmentInstance[] */
|
||||
protected $enchantments = [];
|
||||
protected array $enchantments = [];
|
||||
|
||||
public function hasEnchantments() : bool{
|
||||
return count($this->enchantments) > 0;
|
||||
|
Reference in New Issue
Block a user