Skip to content

Commit bba15f3

Browse files
authored
[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
1 parent f417154 commit bba15f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exception/MissingPathException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class MissingPathException extends DataException
2323
/** @var string */
2424
protected $path;
2525

26-
public function __construct(string $path, string $message = '', int $code = 0, Throwable $previous = null)
26+
public function __construct(string $path, string $message = '', int $code = 0, ?Throwable $previous = null)
2727
{
2828
$this->path = $path;
2929

0 commit comments

Comments
 (0)