Modernize property declarations in src/world/particle

This commit is contained in:
Dylan K. Taylor
2022-04-28 14:55:53 +01:00
parent 6d7bf1c5d8
commit cb76c149e1
15 changed files with 24 additions and 100 deletions

View File

@ -30,12 +30,9 @@ use function abs;
class DragonEggTeleportParticle implements Particle{
/** @var int */
private $xDiff;
/** @var int */
private $yDiff;
/** @var int */
private $zDiff;
private int $xDiff;
private int $yDiff;
private int $zDiff;
public function __construct(int $xDiff, int $yDiff, int $zDiff){
$this->xDiff = self::boundOrThrow($xDiff);