From 4e41179d32818a5b58ee3a4bd4b28e4795aa4b23 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Wed, 4 Jan 2012 13:22:01 +0000 Subject: [PATCH] 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 --- includes/media/Generic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1