Skip to content

Commit 0e53ce2

Browse files
authored
Add explicit null for php 8.4 deprecation warning fix (#188)
1 parent 270d525 commit 0e53ce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VaporJobTimedOutException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class VaporJobTimedOutException extends Exception
1313
* @param string $name
1414
* @param Throwable|null $previous
1515
*/
16-
public function __construct($name, Throwable $previous = null)
16+
public function __construct($name, ?Throwable $previous = null)
1717
{
1818
parent::__construct($name.' has timed out. It will be retried again.', 0, $previous);
1919
}

0 commit comments

Comments
 (0)