diff --git a/src/Exception/Container/RecursiveProxyException.php b/src/Exception/Container/RecursiveProxyException.php index 3b813f57..ceba96db 100644 --- a/src/Exception/Container/RecursiveProxyException.php +++ b/src/Exception/Container/RecursiveProxyException.php @@ -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,