From a67b67817f42f9af77e5040e90e95949a0140943 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 15 Aug 2019 22:55:50 +0100 Subject: [PATCH] [upload] Make comments serenata-compatible --- modules/feature-upload.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/feature-upload.php b/modules/feature-upload.php index 0c017bc..6828161 100644 --- a/modules/feature-upload.php +++ b/modules/feature-upload.php @@ -1,7 +1,7 @@ "Uploader", - "version" => "0.6", + "version" => "0.6.1", "author" => "Starbeamrainbowlabs", "description" => "Adds the ability to upload files to Pepperminty Wiki. Uploaded files act as pages and have the special 'File/' prefix.", "id" => "feature-upload", @@ -569,7 +569,7 @@ register_module([ * @package feature-upload * @author Lifted from Drupal by @meustrus from Stackoverflow * @see http://stackoverflow.com/a/25370978/1460422 Source Stackoverflow answer - * @return integer The maximum upload size supported bythe server, in bytes. + * @return int The maximum upload size supported bythe server, in bytes. */ function get_max_upload_size() { @@ -661,9 +661,9 @@ function getsvgsize($svgFilename) * Useful for sending errors back to the client. * @package feature-upload * @param string $text The text to include in the image. - * @param integer $target_size The target width to aim for when creating + * @param int $target_size The target width to aim for when creating * the image. - * @return image The handle to the generated GD image. + * @return resource The handle to the generated GD image. */ function errorimage($text, $target_size = null) {