This commit is contained in:
2020-12-14 17:43:38 +08:00
parent 1cb3def5b0
commit 55092f1aa7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,6 +21,6 @@ interface Middleware
* @param Closure $next * @param Closure $next
* @return mixed * @return mixed
*/ */
public function handler(Request $request, Closure $next): mixed; public function onHandler(Request $request, Closure $next): mixed;
} }
+1 -1
View File
@@ -404,7 +404,7 @@ class Node extends Application
/** /**
* @throws Exception * @throws Exception
*/ */
private function restructure() private function restructure(): static
{ {
if (empty($this->handler)) { if (empty($this->handler)) {
return $this; return $this;