Merge "Add method parameter type documentation"
[lhc/web/wiklou.git] / includes / filerepo / file / ForeignDBFile.php
index b0a1ebf..01d6b0f 100644 (file)
@@ -73,11 +73,12 @@ class ForeignDBFile extends LocalFile {
         * @param $source string
         * @param $watch bool
         * @param $timestamp bool|string
+        * @param $user User object or null to use $wgUser
         * @return bool
         * @throws MWException
         */
        function recordUpload( $oldver, $desc, $license = '', $copyStatus = '', $source = '',
-               $watch = false, $timestamp = false ) {
+               $watch = false, $timestamp = false, User $user = null ) {
                $this->readOnlyError();
        }
 
@@ -114,15 +115,16 @@ class ForeignDBFile extends LocalFile {
         * @return string
         */
        function getDescriptionUrl() {
-               // Restore remote behaviour
+               // Restore remote behavior
                return File::getDescriptionUrl();
        }
 
        /**
+        * @param $lang Language Optional language to fetch description in.
         * @return string
         */
-       function getDescriptionText() {
-               // Restore remote behaviour
-               return File::getDescriptionText();
+       function getDescriptionText( $lang = false ) {
+               // Restore remote behavior
+               return File::getDescriptionText( $lang );
        }
 }