From 82f496bf994f7cf3df5d68a50305e4ff405af006 Mon Sep 17 00:00:00 2001 From: MateuszKolankowski Date: Tue, 9 Sep 2025 09:34:15 +0200 Subject: [PATCH] Allowed nullable type declarations for method parameters across the codebase --- src/contracts/Exception/InvalidConfigurationException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contracts/Exception/InvalidConfigurationException.php b/src/contracts/Exception/InvalidConfigurationException.php index d856e7d..4f925e5 100644 --- a/src/contracts/Exception/InvalidConfigurationException.php +++ b/src/contracts/Exception/InvalidConfigurationException.php @@ -13,7 +13,7 @@ class InvalidConfigurationException extends Exception { - public function __construct(string $message = '', int $code = 1, Throwable $previous = null) + public function __construct(string $message = '', int $code = 1, ?Throwable $previous = null) { parent::__construct("Invalid schema configuration: {$message}", $code, $previous); }