r108021 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108020‎ | r108021 | r108022 >
Date:13:22, 4 January 2012
Author:hashar
Status:ok
Tags:
Comment:
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
Modified paths:
  • /trunk/phase3/includes/media/Generic.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/media/Generic.php
@@ -89,7 +89,7 @@
9090 *
9191 * @param $image File: the image object, or false if there isn't one
9292 * @param $path String: the filename
93 - * @return Array
 93+ * @return Array Follow the format of PHP getimagesize() internal function. See http://www.php.net/getimagesize
9494 */
9595 abstract function getImageSize( $image, $path );
9696

Status & tagging log