Fix @return for SiteLibrary::pagesInCategory()

If $which === '*', then it returns int[][].

Change-Id: If9204367ce7acf67625b343a35b61aba02dd6a31
This commit is contained in:
Kunal Mehta 2019-03-20 21:18:51 -07:00
parent c3d93b61e2
commit 017d6a133b

View file

@ -96,7 +96,7 @@ class Scribunto_LuaSiteLibrary extends Scribunto_LuaLibraryBase {
* @internal * @internal
* @param string|null $category * @param string|null $category
* @param string|null $which * @param string|null $which
* @return int[] * @return int[]|int[][]
*/ */
public function pagesInCategory( $category = null, $which = null ) { public function pagesInCategory( $category = null, $which = null ) {
$this->checkType( 'pagesInCategory', 1, $category, 'string' ); $this->checkType( 'pagesInCategory', 1, $category, 'string' );