From bba15f31ba2cb615c2ab599f114bbdab201d1ef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Andr=C3=A9?= Date: Sun, 30 Jun 2024 11:00:42 +0200 Subject: [PATCH] [Fix] PHP 8.4 compatibility > Dflydev\DotAccessData\Exception\MissingPathException::__construct(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead --- src/Exception/MissingPathException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Exception/MissingPathException.php b/src/Exception/MissingPathException.php index 7b1d758..92577e7 100644 --- a/src/Exception/MissingPathException.php +++ b/src/Exception/MissingPathException.php @@ -23,7 +23,7 @@ class MissingPathException extends DataException /** @var string */ protected $path; - public function __construct(string $path, string $message = '', int $code = 0, Throwable $previous = null) + public function __construct(string $path, string $message = '', int $code = 0, ?Throwable $previous = null) { $this->path = $path;