diff --git a/src/Exception/ContainerException.php b/src/Exception/ContainerException.php index 0f5dc65..289a132 100644 --- a/src/Exception/ContainerException.php +++ b/src/Exception/ContainerException.php @@ -24,9 +24,9 @@ class ContainerException extends Exception implements ContainerExceptionInterfac /** * @param string $message The exception message. * @param int $code The exception code. - * @param Throwable|null $previous The inner exception, if any. + * @param ?Throwable $previous The inner exception, if any. */ - public function __construct(string $message = "", int $code = 0, Throwable $previous = null) + public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null) { parent::__construct($message, $code, $previous); }