This commit is contained in:
as2252258@163.com
2021-07-27 03:33:49 +08:00
parent c147816549
commit fdbca3d7ad
+1 -1
View File
@@ -94,7 +94,7 @@ class Node extends HttpService
} else {
$this->handler = $handler;
}
if (!empty($this->handler)) {
if (!empty($this->handler) && is_array($this->handler)) {
$this->callback = di(Middlewares::class)->callerMiddlewares(
$this->handler[0], $this->handler[1], $this->createDispatch()
);