X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ffilerepo%2Ffile%2FLocalFile.php;h=7920e9cb4b8743d74206da7bfc105c8aa0b581b3;hb=895d760d5541e015c2a3b3665a2bddbc535797ff;hp=742d78d3bb97fa7d0052de4ba5bdbb45fe11e47f;hpb=a075f50a86be14347100f662ccd683af4f437090;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filerepo/file/LocalFile.php b/includes/filerepo/file/LocalFile.php index 742d78d3bb..7920e9cb4b 100644 --- a/includes/filerepo/file/LocalFile.php +++ b/includes/filerepo/file/LocalFile.php @@ -2115,7 +2115,7 @@ class LocalFile extends File { * @param Language|null $lang What language to get description in (Optional) * @return string|false */ - function getDescriptionText( $lang = null ) { + function getDescriptionText( Language $lang = null ) { $revision = Revision::newFromTitle( $this->title, false, Revision::READ_NORMAL ); if ( !$revision ) { return false; @@ -3146,7 +3146,7 @@ class LocalFileRestoreBatch { /** * Cleanup a failed batch. The batch was only partially successful, so - * rollback by removing all items that were succesfully copied. + * rollback by removing all items that were successfully copied. * * @param Status $storeStatus * @param array[] $storeBatch