Revision: 46097
Author:   ialex
Date:     2009-01-23 20:13:39 +0000 (Fri, 23 Jan 2009)

Log Message:
-----------
* Fix E_STRICT
* Fix doxygen warnings

Modified Paths:
--------------
    trunk/phase3/includes/parser/DateFormatter.php

Modified: trunk/phase3/includes/parser/DateFormatter.php
===================================================================
--- trunk/phase3/includes/parser/DateFormatter.php      2009-01-23 20:08:00 UTC 
(rev 46096)
+++ trunk/phase3/includes/parser/DateFormatter.php      2009-01-23 20:13:39 UTC 
(rev 46097)
@@ -96,9 +96,11 @@
        }
 
        /**
-        * @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 @@
        }
 
        /**
-        * @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] ) ) {



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to