Skip to content

Commit 5e8c5de

Browse files
committed
feat: add unlimited levels of route group and middleware
1 parent 5bcffc0 commit 5e8c5de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/vega/src/Router.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ protected function dispatch(string $method, string $uri, Context $ctx): void
140140
/**
141141
* @param array $handlers
142142
* @param Context $ctx
143+
* @return void
143144
*/
144145
public function runHandlers(array $handlers, Context $ctx): void
145146
{
@@ -157,6 +158,7 @@ public function runHandlers(array $handlers, Context $ctx): void
157158

158159
/**
159160
* @param array $handlers
161+
* @return void
160162
*/
161163
protected function unshiftAbortHandler(array &$handlers): void
162164
{
@@ -191,7 +193,6 @@ protected function unshiftAbortHandler(array &$handlers): void
191193
/**
192194
* @param array $handlers
193195
* @return void
194-
* @throws Abort
195196
*/
196197
protected function unshift404Handler(array &$handlers): void
197198
{

0 commit comments

Comments
 (0)