mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
backport d8c81c0a1: UUID: remove useless default values
these are overwritten by the constructor, so they have no use here.
This commit is contained in:
parent
d0d300a6f8
commit
82e4ef6d48
@ -38,8 +38,8 @@ use function trim;
|
||||
|
||||
class UUID{
|
||||
|
||||
private $parts = [0, 0, 0, 0];
|
||||
private $version = null;
|
||||
private $parts;
|
||||
private $version;
|
||||
|
||||
public function __construct(int $part1 = 0, int $part2 = 0, int $part3 = 0, int $part4 = 0, int $version = null){
|
||||
$this->parts = [$part1, $part2, $part3, $part4];
|
||||
|
Loading…
x
Reference in New Issue
Block a user