改名
This commit is contained in:
@@ -408,6 +408,15 @@ class Node extends Application
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getMiddleWares(): array
|
||||
{
|
||||
return $this->middleware;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @throws Exception
|
||||
*/
|
||||
@@ -418,7 +427,6 @@ class Node extends Application
|
||||
}
|
||||
/** @var Middleware $made */
|
||||
$made = Snowflake::createObject(Middleware::class);
|
||||
$made->setMiddleWares($this->middleware);
|
||||
$made->getGenerate($this);
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user