Skip to content

Commit

Permalink
Fix server request for root services (#1169)
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Nov 25, 2024
1 parent 717059e commit 7e87040
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Exception/Container/RecursiveProxyException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@

namespace Spiral\Core\Exception\Container;

use Psr\Container\NotFoundExceptionInterface;

/**
* Recursion can occur due to improper container configuration or
* an unplanned exit from the scope by the execution thread.
*/
class RecursiveProxyException extends ContainerException
class RecursiveProxyException extends ContainerException implements NotFoundExceptionInterface
{
public function __construct(
public readonly string $alias,
Expand Down

0 comments on commit 7e87040

Please sign in to comment.