This commit is contained in:
2021-07-27 19:38:36 +08:00
parent e6d51ce85c
commit d2580b69ec
+2 -1
View File
@@ -127,7 +127,7 @@ class Node extends HttpService
* @throws NotFindClassException * @throws NotFindClassException
* @throws Exception * @throws Exception
*/ */
private function createDispatch(): Closure #[Pure] private function createDispatch(): Closure
{ {
return $this->normalHandler($this, $this->handler); return $this->normalHandler($this, $this->handler);
@@ -161,6 +161,7 @@ class Node extends HttpService
/** /**
* @param $application * @param $application
* @param $handler
* @return Closure * @return Closure
*/ */
private function normalHandler($application, $handler): Closure private function normalHandler($application, $handler): Closure