diff --git a/tests/Unit/Aggregate/UuidTest.php b/tests/Unit/Aggregate/UuidTest.php index cbeaa9497..20c623076 100644 --- a/tests/Unit/Aggregate/UuidTest.php +++ b/tests/Unit/Aggregate/UuidTest.php @@ -7,6 +7,7 @@ use DateTimeInterface; use Patchlevel\EventSourcing\Aggregate\Uuid; use PHPUnit\Framework\TestCase; +use Ramsey\Uuid\Type\Hexadecimal; use Ramsey\Uuid\Uuid as RamseyUuid; use Ramsey\Uuid\UuidFactory; use Ramsey\Uuid\UuidInterface; @@ -25,7 +26,7 @@ public function testV6(): void { $factory = new class extends UuidFactory { - public function uuid6($node = null, int|null $clockSeq = null): UuidInterface + public function uuid6(?Hexadecimal $node = null, ?int $clockSeq = null): UuidInterface { return RamseyUuid::fromString('1eec1e5c-e397-6644-9aed-0242ac110002'); }