diff options
author | Bart Visscher <bartv@thisnet.nl> | 2014-04-15 22:55:20 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2014-04-15 22:55:20 +0200 |
commit | a4b7f5155fbd0c66fa418199305fccd5c2e7bb31 (patch) | |
tree | 3f1be6a3fd81387d47b5966ec0fd1c8d07aa48c1 /lib/private/image.php | |
parent | d826f33fae85e8ad68bd5d7b2b3a10cdeddf8827 (diff) | |
download | nextcloud-server-a4b7f5155fbd0c66fa418199305fccd5c2e7bb31.tar.gz nextcloud-server-a4b7f5155fbd0c66fa418199305fccd5c2e7bb31.zip |
Fix PHPdoc in lib/private
using scrutinizer patch
Diffstat (limited to 'lib/private/image.php')
-rw-r--r-- | lib/private/image.php | 6 |
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) { |