mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-10 17:27:58 +01:00
Fix #19041: Fix PHP 8.1 issues
This commit is contained in:
committed by
GitHub
parent
4bd551d143
commit
1271bc419f
@@ -45,7 +45,7 @@ class HttpException extends UserException
|
||||
public function __construct($status, $message = null, $code = 0, \Exception $previous = null)
|
||||
{
|
||||
$this->statusCode = $status;
|
||||
parent::__construct($message, $code, $previous);
|
||||
parent::__construct((string)$message, $code, $previous);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user