From: Antoine Musso Date: Wed, 4 Jan 2012 13:22:01 +0000 (+0000) Subject: document getImageSize() return format X-Git-Tag: 1.31.0-rc.0~25545 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=4e41179d32818a5b58ee3a4bd4b28e4795aa4b23;p=lhc%2Fweb%2Fwiklou.git document getImageSize() return format Return array should return the same kind of array that PHP internal method getimagesize() returns. See upstream doc: http://www.php.net/getimagesize --- diff --git a/includes/media/Generic.php b/includes/media/Generic.php index 4c36720f62..5c1640522f 100644 --- a/includes/media/Generic.php +++ b/includes/media/Generic.php @@ -89,7 +89,7 @@ abstract class MediaHandler { * * @param $image File: the image object, or false if there isn't one * @param $path String: the filename - * @return Array + * @return Array Follow the format of PHP getimagesize() internal function. See http://www.php.net/getimagesize */ abstract function getImageSize( $image, $path );