Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ protoc-gen-php-grpc*
.phpunit.result.cache
.php-cs-fixer.cache
.deptrac.cache
composer.lock
4 changes: 2 additions & 2 deletions app/modules/VarDumper/Interfaces/TCP/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
use Symfony\Component\VarDumper\Cloner\Data;
use Symfony\Component\VarDumper\Dumper\HtmlDumper;

class Service implements ServiceInterface
final readonly class Service implements ServiceInterface
{
public function __construct(
private readonly CommandBusInterface $commandBus,
private CommandBusInterface $commandBus,
) {
}

Expand Down
2 changes: 1 addition & 1 deletion app/src/Application/Bootloader/AppBootloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ final class AppBootloader extends DomainBootloader
public function defineSingletons(): array
{
return [
CoreInterface::class => [self::class, 'domainCore'],
CoreInterface::class => fn(\Spiral\Core\Core $core, \Psr\Container\ContainerInterface $container, ?\Psr\EventDispatcher\EventDispatcherInterface $dispatcher = null): \Spiral\Core\InterceptableCore => self::domainCore($core, $container, $dispatcher),
];
}

Expand Down
2 changes: 1 addition & 1 deletion app/src/Application/Domain/ValueObjects/Uuid.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static function generate(): self

public function __construct(private ?UuidInterface $uuid = null)
{
if ($uuid === null) {
if (!$uuid instanceof \Ramsey\Uuid\UuidInterface) {
$this->uuid = \Ramsey\Uuid\Uuid::uuid7();
}
}
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"mongodb/mongodb": "^1.18",
"nesbot/carbon": "^2.64",
"php-http/message": "^1.11",
"spiral/roadrunner-tcp": "^3.1",
"spiral-packages/cqrs": "^2.0",
"spiral-packages/league-event": "^1.0",
"spiral/cycle-bridge": "^2.5",
Expand Down
Loading