* Warning, FSFile::getPropsFromPath might pass an FSFile instead of File (!)
* @param string $path The filename
* @return array|bool Follow the format of PHP getimagesize() internal function.
- * See https://secure.php.net/getimagesize. MediaWiki will only ever use the
+ * See https://www.php.net/getimagesize. MediaWiki will only ever use the
* first two array keys (the width and height), and the 'bits' associative
* key. All other array keys are ignored. Returning a 'bits' key is optional
* as not all formats have a notion of "bitdepth". Returns false on failure.
* performance problems.
* @param File $image
* @param string $metadata The metadata in serialized form
- * @return bool
+ * @return bool|int
*/
public function isMetadataValid( $image, $metadata ) {
return self::METADATA_GOOD;