This commit is contained in:
2020-09-07 17:19:02 +08:00
parent a19e1c4f24
commit 7b490faee6
2 changed files with 26 additions and 3 deletions
+2 -2
View File
@@ -70,7 +70,7 @@ class Middleware
return $this->annotation_limit($node, $middleWares);
}
foreach ($node->getInterceptor() as $item) {
$middleWares[] = $item[0];
$middleWares[] = $item;
}
return $this->annotation_limit($node, $middleWares);
}
@@ -87,7 +87,7 @@ class Middleware
return $middleWares;
}
foreach ($node->getLimits() as $item) {
$middleWares[] = $item[0];
$middleWares[] = $item;
}
return $middleWares;
}