This commit is contained in:
2020-12-15 17:35:51 +08:00
parent 0b2a575016
commit 070717dbdb
3 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -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);
}