From 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 12 Aug 2013 09:28:15 +0200 Subject: Update to MediaWiki 1.21.1 --- includes/debug/Debug.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'includes/debug') diff --git a/includes/debug/Debug.php b/includes/debug/Debug.php index d02bcf53..8c39e1a1 100644 --- a/includes/debug/Debug.php +++ b/includes/debug/Debug.php @@ -135,6 +135,7 @@ class MWDebug { * @since 1.19 * @param $msg string * @param $callerOffset int + * @param int $level A PHP error level. See sendWarning() * @return mixed */ public static function warning( $msg, $callerOffset = 1, $level = E_USER_NOTICE ) { @@ -161,9 +162,9 @@ class MWDebug { * - MediaWiki's debug log, if $wgDevelopmentWarnings is set to false. * * @since 1.19 - * @param $function string: Function that is deprecated. - * @param $version string|bool: Version in which the function was deprecated. - * @param $component string|bool: Component to which the function belongs. + * @param string $function Function that is deprecated. + * @param string|bool $version Version in which the function was deprecated. + * @param string|bool $component Component to which the function belongs. * If false, it is assumbed the function is in MediaWiki core. * @param $callerOffset integer: How far up the callstack is the original * caller. 2 = function that called the function that called @@ -269,8 +270,8 @@ class MWDebug { * Send a warning either to the debug log or by triggering an user PHP * error depending on $wgDevelopmentWarnings. * - * @param $msg string Message to send - * @param $caller array caller description get from getCallerDescription() + * @param string $msg Message to send + * @param array $caller caller description get from getCallerDescription() * @param $level error level to use if $wgDevelopmentWarnings is true */ private static function sendWarning( $msg, $caller, $level ) { -- cgit v1.2.3-54-g00ecf