改名
This commit is contained in:
@@ -52,7 +52,7 @@ class Dispatch
|
||||
*/
|
||||
public function dispatch(): mixed
|
||||
{
|
||||
return \aop($this->handler, ...func_get_args());
|
||||
return \aop($this->handler, ...$this->request);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ class Node extends HttpService
|
||||
public function createDispatch(): Closure
|
||||
{
|
||||
return function () {
|
||||
return Dispatch::create($this->handler, func_get_args())->dispatch();
|
||||
return Dispatch::create($this->handler, ...func_get_args())->dispatch();
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user