We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb6df50 commit 907158dCopy full SHA for 907158d
src/Listener/Uuid2.php
@@ -35,11 +35,12 @@ final class Uuid2 extends BaseUuid
35
public function __construct(
36
string $field,
37
bool $nullable = false,
38
- private readonly DceDomain|int|null $localDomain = null,
+ private DceDomain|int|null $localDomain = null,
39
private readonly ?int $localIdentifier = null,
40
private readonly int|string|null $node = null,
41
private readonly ?int $clockSeq = null,
42
) {
43
+ $this->localDomain = \is_int($this->localDomain) ? DceDomain::from($this->localDomain) : $this->localDomain;
44
$this->factory = new UuidV2Factory();
45
parent::__construct($field, $nullable);
46
}
0 commit comments