From: Alexandre Emsenhuber Date: Fri, 23 Jan 2009 20:13:39 +0000 (+0000) Subject: * Fix E_STRICT X-Git-Tag: 1.31.0-rc.0~43291 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=393f3041ddf2f7080c3da5f96c55ae83cbea6043;p=lhc%2Fweb%2Fwiklou.git * Fix E_STRICT * Fix doxygen warnings --- diff --git a/includes/parser/DateFormatter.php b/includes/parser/DateFormatter.php index 9ef11d5e35..a699ef7098 100644 --- a/includes/parser/DateFormatter.php +++ b/includes/parser/DateFormatter.php @@ -96,9 +96,11 @@ class DateFormatter } /** - * @static + * Get a DateFormatter object + * + * @return DateFormatter object */ - function &getInstance() { + public static function &getInstance() { global $wgMemc; static $dateFormatter = false; if ( !$dateFormatter ) { @@ -112,8 +114,8 @@ class DateFormatter } /** - * @param string $preference User preference - * @param string $text Text to reformat + * @param $preference String: User preference + * @param $text String: Text to reformat */ function reformat( $preference, $text ) { if ( isset( $this->preferences[$preference] ) ) {