We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eea99bb commit 0d53a13Copy full SHA for 0d53a13
1 file changed
src/Router.php
@@ -86,6 +86,11 @@ public function getController(\Swoole\Http\Response $response): Controller {
86
$action = $this->action;
87
$v = $this->version ?? '';
88
do {
89
+ if (in_array('', $action, true)) {
90
+ // Empty router not suppoted. Use as param
91
+ $par[] = array_pop($action);
92
+ continue;
93
+ }
94
$tmp = $action;
95
$tmp[] = $this->method . $v;
96
0 commit comments