提交的内容
This commit is contained in:
4
vendor/topthink/framework/src/think/Http.php
vendored
Executable file → Normal file
4
vendor/topthink/framework/src/think/Http.php
vendored
Executable file → Normal file
@ -2,7 +2,7 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006~2023 http://thinkphp.cn All rights reserved.
|
||||
// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
@ -149,7 +149,7 @@ class Http
|
||||
* @param Request|null $request
|
||||
* @return Response
|
||||
*/
|
||||
public function run(Request $request = null): Response
|
||||
public function run(?Request $request = null): Response
|
||||
{
|
||||
//初始化
|
||||
$this->initialize();
|
||||
|
||||
Reference in New Issue
Block a user