改名
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user