Skip to content

Commit

Permalink
Merge pull request #135 from buggregator/maintenance/php82-min
Browse files Browse the repository at this point in the history
Fixes problem with TCP Request
  • Loading branch information
butschster committed Apr 14, 2024
2 parents a5490f1 + 5d4fc3b commit 908dcc6
Show file tree
Hide file tree
Showing 6 changed files with 12,323 additions and 5 deletions.
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

0 comments on commit 908dcc6

Please sign in to comment.