Skip to content

Commit

Permalink
Sync with Spiral 3.14
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed Sep 2, 2024
1 parent ccedaf9 commit 92ee4eb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Bootloader/GRPCBootloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Spiral\Core\FactoryInterface;
use Spiral\Grpc\Client\Bridge\GrpcClientBootloader;
use Spiral\Grpc\Client\Config\GrpcClientConfig;
use Spiral\Interceptors\Handler\ReflectionHandler;
use Spiral\Interceptors\Handler\AutowireHandler;
use Spiral\Interceptors\InterceptorInterface;
use Spiral\Interceptors\PipelineBuilderInterface;
use Spiral\RoadRunner\GRPC\InvokerInterface;
Expand Down Expand Up @@ -126,7 +126,7 @@ private function initInvoker(
/** @var PipelineBuilderInterface $pipelineBuilder */
$pipelineBuilder ??= $container->get(CompatiblePipelineBuilder::class);

$handler = new ReflectionHandler($container, false);
$handler = new AutowireHandler($container, false);

/**
* @var list<InterceptorInterface|CoreInterceptorInterface> $list
Expand Down
4 changes: 2 additions & 2 deletions src/Centrifugo/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Spiral\Core\ScopeInterface;
use Spiral\Interceptors\Context\CallContext;
use Spiral\Interceptors\Context\Target;
use Spiral\Interceptors\Handler\ReflectionHandler;
use Spiral\Interceptors\Handler\AutowireHandler;
use Spiral\Interceptors\HandlerInterface;
use Spiral\Interceptors\PipelineBuilderInterface;
use Spiral\RoadRunnerBridge\Centrifugo\Interceptor\RegistryInterface as InterceptorRegistry;
Expand All @@ -36,7 +36,7 @@ public function __construct(
?PipelineBuilderInterface $pipelineBuilder = null,
) {
$this->pipelineBuilder = $pipelineBuilder ?? $container->get(CompatiblePipelineBuilder::class);
$this->handler = new ReflectionHandler($container);
$this->handler = new AutowireHandler($container);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/Tcp/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use Spiral\Exceptions\ExceptionReporterInterface;
use Spiral\Interceptors\Context\CallContext;
use Spiral\Interceptors\Context\Target;
use Spiral\Interceptors\Handler\ReflectionHandler;
use Spiral\Interceptors\Handler\AutowireHandler;
use Spiral\Interceptors\HandlerInterface;
use Spiral\Interceptors\PipelineBuilderInterface;
use Spiral\RoadRunner\Payload;
Expand Down Expand Up @@ -44,7 +44,7 @@ public function __construct(
?PipelineBuilderInterface $pipelineBuilder = null,
) {
$this->pipelineBuilder = $pipelineBuilder ?? $container->get(CompatiblePipelineBuilder::class);
$this->handler = new ReflectionHandler($container);
$this->handler = new AutowireHandler($container);
}

/**
Expand Down

0 comments on commit 92ee4eb

Please sign in to comment.