Index: trunk/phase3/includes/filerepo/LocalRepo.php |
— | — | @@ -136,6 +136,7 @@ |
137 | 137 | * Checks if there is a redirect named as $title |
138 | 138 | * |
139 | 139 | * @param $title Title of file |
| 140 | + * @return bool |
140 | 141 | */ |
141 | 142 | function checkRedirect( Title $title ) { |
142 | 143 | global $wgMemc; |
— | — | @@ -206,6 +207,7 @@ |
207 | 208 | /** |
208 | 209 | * Get an array or iterator of file objects for files that have a given |
209 | 210 | * SHA-1 content hash. |
| 211 | + * @return Array |
210 | 212 | */ |
211 | 213 | function findBySha1( $hash ) { |
212 | 214 | $dbr = $this->getSlaveDB(); |
— | — | @@ -242,6 +244,7 @@ |
243 | 245 | * Get a key on the primary cache for this repository. |
244 | 246 | * Returns false if the repository's cache is not accessible at this site. |
245 | 247 | * The parameters are the parts of the key, as for wfMemcKey(). |
| 248 | + * @return string |
246 | 249 | */ |
247 | 250 | function getSharedCacheKey( /*...*/ ) { |
248 | 251 | $args = func_get_args(); |
— | — | @@ -252,6 +255,7 @@ |
253 | 256 | * Invalidates image redirect cache related to that image |
254 | 257 | * |
255 | 258 | * @param $title Title of page |
| 259 | + * @return void |
256 | 260 | */ |
257 | 261 | function invalidateImageRedirect( Title $title ) { |
258 | 262 | global $wgMemc; |