Skip to content

Commit 87954a5

Browse files
committed
Fix nullable type in constructor
1 parent 34b2f0e commit 87954a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ConnectionException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ConnectionException extends Exception
2020

2121
private $data;
2222

23-
public function __construct(string $message, int $code = 0, array $data = [], Throwable $prev = null)
23+
public function __construct(string $message, int $code = 0, array $data = [], ?Throwable $prev = null)
2424
{
2525
parent::__construct($message, $code, $prev);
2626
$this->data = $data;

0 commit comments

Comments
 (0)