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