Ensure return value is declared in api param info
Change-Id: I0259d576e60c2a3b577d446d9edf1c5f85843dd6
This commit is contained in:
parent
08eb0dbc33
commit
c74cfb7c46
1 changed files with 1 additions and 1 deletions
|
|
@ -167,9 +167,9 @@ class ApiParamInfo extends ApiBase {
|
|||
* @return string[]
|
||||
*/
|
||||
private function listAllSubmodules( ApiBase $module, $recursive ) {
|
||||
$paths = [];
|
||||
$manager = $module->getModuleManager();
|
||||
if ( $manager ) {
|
||||
$paths = [];
|
||||
$names = $manager->getNames();
|
||||
sort( $names );
|
||||
foreach ( $names as $name ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue