mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Modernize property declarations in src/world/particle
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user