Skip to content

Commit

Permalink
Fix Passing null to parameter #1 () of type string is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
GenieTim committed Nov 16, 2022
1 parent e5863c9 commit ec65809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ChecksumException.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ final class ChecksumException extends ReaderException
{
private static ?\Zxing\ChecksumException $instance = null;

public static function getChecksumInstance($cause = null): self
public static function getChecksumInstance($cause = ""): self
{
if (self::$isStackTrace) {
return new ChecksumException($cause);
Expand Down

0 comments on commit ec65809

Please sign in to comment.