mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 09:26:06 +00:00
Use typed properties in block namespace
This commit is contained in:
@ -30,8 +30,7 @@ class Note extends Opaque{
|
||||
public const MIN_PITCH = 0;
|
||||
public const MAX_PITCH = 24;
|
||||
|
||||
/** @var int */
|
||||
private $pitch = self::MIN_PITCH;
|
||||
private int $pitch = self::MIN_PITCH;
|
||||
|
||||
public function readStateFromWorld() : void{
|
||||
parent::readStateFromWorld();
|
||||
|
Reference in New Issue
Block a user