X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ffilerepo%2FRepoGroup.php;h=189c3a377d1f42a488bc45a7280831eee74655b4;hb=496e14b0b25ae24cdf486bffe8140023b3e1281e;hp=65637df9e942a5569c118a4d8e6d48e6acca34a0;hpb=027731f57f6c8dc45c1cef9cd5d2a8d8b7981746;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filerepo/RepoGroup.php b/includes/filerepo/RepoGroup.php index 65637df9e9..189c3a377d 100644 --- a/includes/filerepo/RepoGroup.php +++ b/includes/filerepo/RepoGroup.php @@ -221,7 +221,7 @@ class RepoGroup { /** * Interface for FileRepo::checkRedirect() * @param Title $title - * @return bool + * @return bool|Title */ function checkRedirect( Title $title ) { if ( !$this->reposInitialised ) { @@ -272,8 +272,8 @@ class RepoGroup { /** * Find all instances of files with this key * - * @param string $hash base 36 SHA-1 hash - * @return array Array of File objects + * @param string $hash Base 36 SHA-1 hash + * @return File[] */ function findBySha1( $hash ) { if ( !$this->reposInitialised ) { @@ -292,7 +292,7 @@ class RepoGroup { /** * Find all instances of files with this keys * - * @param array $hashes base 36 SHA-1 hashes + * @param array $hashes Base 36 SHA-1 hashes * @return array Array of array of File objects */ function findBySha1s( array $hashes ) { @@ -420,7 +420,7 @@ class RepoGroup { * Split a virtual URL into repo, zone and rel parts * @param string $url * @throws MWException - * @return array containing repo, zone and rel + * @return array Containing repo, zone and rel */ function splitVirtualUrl( $url ) { if ( substr( $url, 0, 9 ) != 'mwrepo://' ) {