Skip to content

Commit b47b120

Browse files
committed
Mark the type hint as nullable
1 parent 83cafa7 commit b47b120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wcfsetup/install.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ class SystemException extends \Exception
553553
* @param string $description description of the error
554554
* @param \Exception $previous repacked Exception
555555
*/
556-
public function __construct($message = '', $code = 0, $description = '', \Exception $previous = null)
556+
public function __construct($message = '', $code = 0, $description = '', ?\Exception $previous = null)
557557
{
558558
parent::__construct((string) $message, (int) $code, $previous);
559559
$this->description = $description;

0 commit comments

Comments
 (0)