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;