Fix incorrect param type, causing phan error

Change-Id: I3a87b0c58fd897ea83dbb44c51a01d206d1cd024
This commit is contained in:
Tim Starling 2022-08-22 19:00:38 +10:00 committed by jenkins-bot
parent 738ca8d72d
commit 6f437487b8

View file

@ -131,7 +131,7 @@ class Scribunto_LuaLanguageLibrary extends Scribunto_LuaLibraryBase {
* @internal * @internal
* @param null|string $inLanguage * @param null|string $inLanguage
* @param null|string $include * @param null|string $include
* @return array[][] * @return string[][]
*/ */
public function fetchLanguageNames( $inLanguage, $include ) { public function fetchLanguageNames( $inLanguage, $include ) {
$this->checkTypeOptional( 'fetchLanguageNames', 1, $inLanguage, 'string', null ); $this->checkTypeOptional( 'fetchLanguageNames', 1, $inLanguage, 'string', null );