X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=blobdiff_plain;f=includes%2Ffilerepo%2FRepoGroup.php;h=96df29ff51e844accb9a5142e831ff9bef505bc3;hb=4cc031607c9b8e17265e51372b94399399254966;hp=804783521253236c1b088d77b726a6449ee47a46;hpb=3b0ff76e9563039f45ad34b01b81576142e150c3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filerepo/RepoGroup.php b/includes/filerepo/RepoGroup.php index 8047835212..96df29ff51 100644 --- a/includes/filerepo/RepoGroup.php +++ b/includes/filerepo/RepoGroup.php @@ -47,7 +47,7 @@ class RepoGroup { /** @var array */ protected $foreignInfo; - /** @var ProcessCacheLRU */ + /** @var MapCacheLRU */ protected $cache; /** Maximum number of cache items */ @@ -115,6 +115,8 @@ class RepoGroup { * user is allowed to view them. Otherwise, such files will not * be found. * latest: If true, load from the latest available data into File objects + * @phan-param array{time?:mixed,ignoreRedirect?:bool,private?:bool,latest?:bool} $options + * @suppress PhanTypeInvalidDimOffset * @return File|bool False if title is not found */ function findFile( $title, $options = [] ) {