Skip to content

Commit 0641e28

Browse files
committed
Fix nullable type hint for previous throwable in DecryptException constructor
1 parent b8339ae commit 0641e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exceptions/DecryptException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class DecryptException extends \Exception
88
{
9-
public function __construct(string $message = "Cannot decrypt text", int $code = 0, Throwable $previous = null)
9+
public function __construct(string $message = "Cannot decrypt text", int $code = 0, ?Throwable $previous = null)
1010
{
1111
parent::__construct($message, $code, $previous);
1212
}

0 commit comments

Comments
 (0)