改名
This commit is contained in:
@@ -21,6 +21,6 @@ interface Middleware
|
||||
* @param Closure $next
|
||||
* @return mixed
|
||||
*/
|
||||
public function handler(Request $request, Closure $next): mixed;
|
||||
public function onHandler(Request $request, Closure $next): mixed;
|
||||
|
||||
}
|
||||
|
||||
@@ -404,7 +404,7 @@ class Node extends Application
|
||||
/**
|
||||
* @throws Exception
|
||||
*/
|
||||
private function restructure()
|
||||
private function restructure(): static
|
||||
{
|
||||
if (empty($this->handler)) {
|
||||
return $this;
|
||||
|
||||
Reference in New Issue
Block a user