mirror of
https://gitee.com/technical-laohu/mpay_v2_webman.git
synced 2026-04-25 11:34:27 +08:00
更新统一使用 PHPDoc + PSR-19 标准注释
This commit is contained in:
@@ -17,7 +17,7 @@ class Cors implements MiddlewareInterface
|
||||
* 处理请求。
|
||||
*
|
||||
* @param Request $request 请求对象
|
||||
* @param callable $handler 下一个中间件处理函数
|
||||
* @param callable $handler handler
|
||||
* @return Response 响应对象
|
||||
*/
|
||||
public function process(Request $request, callable $handler): Response
|
||||
@@ -32,3 +32,7 @@ class Cors implements MiddlewareInterface
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user