Skip to content

Commit

Permalink
Merge pull request #1117: Update interceptors
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Jul 30, 2024
1 parent ad25738 commit 257e5e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Model/Interceptor/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Spiral\Core\CoreInterface;
use Spiral\Filters\Model\FilterBag;
use Spiral\Filters\Model\FilterInterface;
use Spiral\Interceptors\Context\CallContext;
use Spiral\Interceptors\Context\CallContextInterface;
use Spiral\Interceptors\HandlerInterface;

/**
Expand All @@ -25,7 +25,7 @@ public function callAction(string $controller, string $action, array $parameters
return $parameters['filterBag']->filter;
}

public function handle(CallContext $context): FilterInterface
public function handle(CallContextInterface $context): FilterInterface
{
$args = $context->getArguments();
\assert($args['filterBag'] instanceof FilterBag);
Expand Down

0 comments on commit 257e5e5

Please sign in to comment.