Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2014-04-16 00:55:20 +0400
committerBart Visscher <bartv@thisnet.nl>2014-04-16 00:55:20 +0400
commita4b7f5155fbd0c66fa418199305fccd5c2e7bb31 (patch)
tree3f1be6a3fd81387d47b5966ec0fd1c8d07aa48c1 /lib/private/image.php
parentd826f33fae85e8ad68bd5d7b2b3a10cdeddf8827 (diff)
Fix PHPdoc in lib/private
using scrutinizer patch
Diffstat (limited to 'lib/private/image.php')
-rw-r--r--lib/private/image.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/image.php b/lib/private/image.php
index f1b8acc41b7..14aa64d12da 100644
--- a/lib/private/image.php
+++ b/lib/private/image.php
@@ -49,7 +49,7 @@ class OC_Image {
/**
* @brief Constructor.
- * @param resource|string $imageref The path to a local file, a base64 encoded string or a resource created by
+ * @param resource|string $imageRef The path to a local file, a base64 encoded string or a resource created by
* an imagecreate* function.
* @return \OC_Image False on error
*/
@@ -79,7 +79,7 @@ class OC_Image {
/**
* @brief Returns the MIME type of the image or an empty string if no image is loaded.
- * @return int
+ * @return string
*/
public function mimeType() {
return $this->valid() ? $this->mimeType : '';
@@ -397,7 +397,7 @@ class OC_Image {
/**
* @brief Loads an image from a local file, a base64 encoded string or a resource created by an imagecreate* function.
- * @param resource|string $imageref The path to a local file, a base64 encoded string or a resource created by an imagecreate* function or a file resource (file handle ).
+ * @param resource|string $imageRef The path to a local file, a base64 encoded string or a resource created by an imagecreate* function or a file resource (file handle ).
* @return resource|false An image resource or false on error
*/
public function load($imageRef) {