改名
This commit is contained in:
@@ -45,9 +45,9 @@ class Dispatch
|
||||
* @return mixed
|
||||
* 执行函数
|
||||
*/
|
||||
public function dispatch()
|
||||
public function dispatch(): mixed
|
||||
{
|
||||
return call_user_func($this->handler, $this->request);
|
||||
return call_user_func($this->handler, ...$this->request);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user