document getImageSize() return format
authorAntoine Musso <hashar@users.mediawiki.org>
Wed, 4 Jan 2012 13:22:01 +0000 (13:22 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Wed, 4 Jan 2012 13:22:01 +0000 (13:22 +0000)
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

index 4c36720..5c16405 100644 (file)
@@ -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 );