More abstraction to Dispatcher::containerException typehint

pull/567/head
fadrian06 10 months ago
parent 8f3f6b5c74
commit 414f605f67

@ -9,6 +9,7 @@ use flight\Engine;
use InvalidArgumentException;
use Psr\Container\ContainerInterface;
use ReflectionFunction;
use Throwable;
use TypeError;
/**
@ -26,7 +27,7 @@ class Dispatcher
public const FILTER_AFTER = 'after';
/** Exception message if thrown by setting the container as a callable method. */
protected ?Exception $containerException = null;
protected ?Throwable $containerException = null;
/** @var ?Engine $engine Engine instance. */
protected ?Engine $engine = null;

Loading…
Cancel
Save