Skip to content

Commit

Permalink
Update Route.php
Browse files Browse the repository at this point in the history
miss 闭包类型的代码提示对编辑器不友好
  • Loading branch information
lc7457 authored and liu21st committed Jul 4, 2021
1 parent 89e9201 commit 5d503d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/think/facade/Route.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
* @method static RuleItem redirect(string $rule, string $route = '', int $status = 301) 注册重定向路由
* @method static \think\Route rest(string|array $name, array|bool $resource = []) rest方法定义和修改
* @method static array|null getRest(string $name = null) 获取rest方法定义的参数
* @method static RuleItem miss(string|Closure $route, string $method = '*') 注册未匹配路由规则后的处理
* @method static RuleItem miss(string|\Closure $route, string $method = '*') 注册未匹配路由规则后的处理
* @method static Response dispatch(\think\Request $request, Closure|bool $withRoute = true) 路由调度
* @method static Dispatch|false check() 检测URL路由
* @method static Dispatch url(string $url) 默认URL解析
Expand Down

0 comments on commit 5d503d6

Please sign in to comment.