mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-14 19:30:57 +00:00
Fix @return for SiteLibrary::pagesInCategory()
If $which === '*', then it returns int[][]. Change-Id: If9204367ce7acf67625b343a35b61aba02dd6a31
This commit is contained in:
parent
c3d93b61e2
commit
017d6a133b
|
@ -96,7 +96,7 @@ class Scribunto_LuaSiteLibrary extends Scribunto_LuaLibraryBase {
|
|||
* @internal
|
||||
* @param string|null $category
|
||||
* @param string|null $which
|
||||
* @return int[]
|
||||
* @return int[]|int[][]
|
||||
*/
|
||||
public function pagesInCategory( $category = null, $which = null ) {
|
||||
$this->checkType( 'pagesInCategory', 1, $category, 'string' );
|
||||
|
|
Loading…
Reference in a new issue