From: Siebrand Mazeland Date: Mon, 25 Nov 2013 13:44:44 +0000 (+0100) Subject: Update documentation X-Git-Tag: 1.31.0-rc.0~17910 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22brouteur%22%2C%28%24id_rubrique%20?a=commitdiff_plain;h=bc967dd32e3841c72ae06907ed49a37af5dc9311;p=lhc%2Fweb%2Fwiklou.git Update documentation Change-Id: I94af1fbbfeb838f4d300c87f0e42a816ff6c5fee --- diff --git a/includes/filerepo/FileRepo.php b/includes/filerepo/FileRepo.php index d26191c170..8611238d8e 100644 --- a/includes/filerepo/FileRepo.php +++ b/includes/filerepo/FileRepo.php @@ -260,7 +260,7 @@ class FileRepo { * * @param string $zone One of: public, deleted, temp, thumb * @param string|null $ext Optional file extension - * @return String or false + * @return string|bool */ public function getZoneUrl( $zone, $ext = null ) { if ( in_array( $zone, array( 'public', 'temp', 'thumb', 'transcoded' ) ) ) { @@ -602,7 +602,7 @@ class FileRepo { } /** - * Get the name of an image from its title object + * Get the name of a file from its title object * * @param $title Title * @return String