This commit is contained in:
2021-08-25 11:21:39 +08:00
parent 51014591b3
commit 848e55cc93
+1 -1
View File
@@ -445,7 +445,7 @@ class Router extends HttpService implements RouterInterface
foreach ($this->nodes as $node) {
/** @var Node[] $node */
foreach ($node as $_node) {
$path[] = ['method' => $node->method, 'path' => $node->sourcePath];
$path[] = ['method' => $_node->method, 'path' => $_node->sourcePath];
$paths = $this->getChildes($_node, $paths);
}
}