Skip to content

Commit 907158d

Browse files
Provides fixes after merged changes broke a lot of things
1 parent fb6df50 commit 907158d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Listener/Uuid2.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ final class Uuid2 extends BaseUuid
3535
public function __construct(
3636
string $field,
3737
bool $nullable = false,
38-
private readonly DceDomain|int|null $localDomain = null,
38+
private DceDomain|int|null $localDomain = null,
3939
private readonly ?int $localIdentifier = null,
4040
private readonly int|string|null $node = null,
4141
private readonly ?int $clockSeq = null,
4242
) {
43+
$this->localDomain = \is_int($this->localDomain) ? DceDomain::from($this->localDomain) : $this->localDomain;
4344
$this->factory = new UuidV2Factory();
4445
parent::__construct($field, $nullable);
4546
}

0 commit comments

Comments
 (0)