Skip to content

Commit

Permalink
Fix typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielBadura committed Feb 5, 2024
1 parent d711f36 commit f7ab763
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Unit/Aggregate/UuidTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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');
}
Expand Down

0 comments on commit f7ab763

Please sign in to comment.