This commit is contained in:
2020-09-03 17:32:17 +08:00
parent d40b258aa4
commit 158973c6be
2 changed files with 3 additions and 16 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ class Middleware
$middleWares = $this->annotation($node);
$data = array_reduce(array_reverse($middleWares), $this->core(), $last);
$this->middleWares = [];
return $data;
return $node->callback = $data;
}