Merge "Add PHPUnit tests for methods in ViewAction::class"
[lhc/web/wiklou.git] / includes / parser / ParserOptions.php
index 032d481..8407992 100644 (file)
@@ -650,8 +650,10 @@ class ParserOptions {
 
        /**
         * Lazy initializer for dateFormat
+        * @param ParserOptions $popt
+        * @return string
         */
-       private static function initDateFormat( $popt ) {
+       private static function initDateFormat( ParserOptions $popt ) {
                return $popt->mUser->getDatePreference();
        }