Skip to content

Commit 6488cfc

Browse files
authored
Merge pull request #47 from smnandre/patch-1
[Fix] PHP 8.4 compatibility
2 parents f417154 + bba15f3 commit 6488cfc

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)