Modernize property type declarations

This commit is contained in:
Dylan K. Taylor
2022-06-04 18:16:32 +01:00
parent 23695fb900
commit 083a35f970
114 changed files with 431 additions and 863 deletions

View File

@ -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);