backport d8c81c0a1: UUID: remove useless default values

these are overwritten by the constructor, so they have no use here.
This commit is contained in:
Dylan K. Taylor 2019-03-27 15:39:06 +00:00
parent d0d300a6f8
commit 82e4ef6d48

View File

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