X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Ffilerepo%2Ffile%2FForeignDBFile.php;h=f6f44e610a5d5b927294c524cb8dcc143a7a3796;hb=6fbafe5494440f5c37686b250ed759f6a96271b9;hp=df50a670a231df533c2210c599984c243de33e25;hpb=638becad9826f135e9ab47ad4a9ca24b6ec6cc09;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filerepo/file/ForeignDBFile.php b/includes/filerepo/file/ForeignDBFile.php index df50a670a2..f6f44e610a 100644 --- a/includes/filerepo/file/ForeignDBFile.php +++ b/includes/filerepo/file/ForeignDBFile.php @@ -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 ) {