mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Modernize property type declarations
This commit is contained in:
@ -45,12 +45,9 @@ abstract class Tile{
|
||||
public const TAG_Y = "y";
|
||||
public const TAG_Z = "z";
|
||||
|
||||
/** @var Position */
|
||||
protected $position;
|
||||
/** @var bool */
|
||||
public $closed = false;
|
||||
/** @var TimingsHandler */
|
||||
protected $timings;
|
||||
protected Position $position;
|
||||
public bool $closed = false;
|
||||
protected TimingsHandler $timings;
|
||||
|
||||
public function __construct(World $world, Vector3 $pos){
|
||||
$this->position = Position::fromObject($pos, $world);
|
||||
|
Reference in New Issue
Block a user