Skip to content

Commit

Permalink
Merge pull request #47 from smnandre/patch-1
Browse files Browse the repository at this point in the history
[Fix] PHP 8.4 compatibility
  • Loading branch information
colinodell authored Jul 6, 2024
2 parents f417154 + bba15f3 commit 6488cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exception/MissingPathException.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6488cfc

Please sign in to comment.