modify
This commit is contained in:
@@ -94,7 +94,7 @@ class Node extends HttpService
|
|||||||
} else {
|
} else {
|
||||||
$this->handler = $handler;
|
$this->handler = $handler;
|
||||||
}
|
}
|
||||||
if (!empty($this->handler)) {
|
if (!empty($this->handler) && is_array($this->handler)) {
|
||||||
$this->callback = di(Middlewares::class)->callerMiddlewares(
|
$this->callback = di(Middlewares::class)->callerMiddlewares(
|
||||||
$this->handler[0], $this->handler[1], $this->createDispatch()
|
$this->handler[0], $this->handler[1], $this->createDispatch()
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user