From 873ac24d327fcd465eccf1a56b1f4de39640d078 Mon Sep 17 00:00:00 2001 From: Catrope Date: Wed, 22 Aug 2012 12:49:39 -0700 Subject: [PATCH] Document Linker::tocList()'s $lang parameter correctly Change-Id: I6982dc30a0ceeedc8e549ee3bdaa5bc139d6364c --- includes/Linker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Linker.php b/includes/Linker.php index ce81d1c02e..0b2deef78f 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1590,7 +1590,7 @@ class Linker { * Wraps the TOC in a table and provides the hide/collapse javascript. * * @param $toc String: html of the Table Of Contents - * @param $lang mixed: Language code for the toc title + * @param $lang String|Language|false: Language for the toc title, defaults to user language * @return String: full html of the TOC */ public static function tocList( $toc, $lang = false ) { -- 2.20.1