Skip to content

Commit 57ff9df

Browse files
committed
merge
1 parent 503e025 commit 57ff9df

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"psr/http-message": "^1.0|^2.0",
3131
"psr/log": "^3.0.0",
3232
"symfony/cache": "^7.2",
33-
"symfony/uid": "^7.1",
3433
"symfony/process": "^7.1",
34+
"symfony/uid": "^7.1",
3535
"symfony/var-dumper": "^7.1",
3636
"symfony/var-exporter": "^7.1",
3737
"tempest/highlight": "^2.0",

src/Tempest/CommandBus/src/AsyncCommandMiddleware.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Tempest\CommandBus;
66

7-
use Ramsey\Uuid\Uuid;
7+
use Symfony\Component\Uid\Uuid;
88
use Tempest\Core\KernelEvent;
99
use Tempest\EventBus\EventHandler;
1010
use Tempest\Reflection\ClassReflector;
@@ -28,7 +28,7 @@ public function __invoke(object $command, CommandBusMiddlewareCallable $next): v
2828
$reflector = new ClassReflector($command);
2929

3030
if ($reflector->hasAttribute(AsyncCommand::class)) {
31-
$this->repository->store(Uuid::uuid7()->toString(), $command);
31+
$this->repository->store(Uuid::v7()->toString(), $command);
3232

3333
return;
3434
}

0 commit comments

Comments
 (0)