mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-21 23:55:35 +08:00
PHP80 小修 (#187)
* migrate-php80 fix styles fix static analyse * fix some bugs
This commit is contained in:
@@ -6,11 +6,8 @@ namespace ZM\Exception;
|
||||
|
||||
class InterruptException extends ZMException
|
||||
{
|
||||
public $return_var;
|
||||
|
||||
public function __construct($return_var = null, $message = '', $code = 0, \Throwable $previous = null)
|
||||
public function __construct(public $return_var = null, $message = '', $code = 0, \Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message, '', $code, $previous);
|
||||
$this->return_var = $return_var;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user