Merge "Convert various FormActions to OOUI"
[lhc/web/wiklou.git] / includes / filerepo / file / ForeignDBFile.php
index df50a67..f6f44e6 100644 (file)
@@ -120,10 +120,10 @@ class ForeignDBFile extends LocalFile {
        }
 
        /**
-        * @param bool|Language $lang Optional language to fetch description in.
-        * @return string
+        * @param Language|null $lang Optional language to fetch description in.
+        * @return string|false
         */
-       function getDescriptionText( $lang = false ) {
+       function getDescriptionText( $lang = null ) {
                global $wgLang;
 
                if ( !$this->repo->fetchDescription ) {