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
path: root/lib
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2016-01-05 14:36:31 +0300
committerJörn Friedrich Dreyer <jfd@butonic.de>2016-01-05 14:36:31 +0300
commita86e067154bb959ebdb4b76a9691e9bb99d51306 (patch)
tree81abdb333d8eda1cf660ea3f09bbacd2ccb5b408 /lib
parentd4034ffca0b8ee2cbbd17ae35ed02c10d677e4a0 (diff)
parent26c3fa7911484e460565ca20980dfa75ec4032f2 (diff)
Merge pull request #21442 from owncloud/annotate-type
Annotate type
Diffstat (limited to 'lib')
-rw-r--r--lib/private/image.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/private/image.php b/lib/private/image.php
index 4ca9b811100..a5de7e86b94 100644
--- a/lib/private/image.php
+++ b/lib/private/image.php
@@ -39,17 +39,19 @@
* Class for basic image manipulation
*/
class OC_Image implements \OCP\IImage {
+ /** @var false|resource */
protected $resource = false; // tmp resource.
+ /** @var int */
protected $imageType = IMAGETYPE_PNG; // Default to png if file type isn't evident.
- protected $mimeType = "image/png"; // Default to png
+ /** @var string */
+ protected $mimeType = 'image/png'; // Default to png
+ /** @var int */
protected $bitDepth = 24;
+ /** @var null|string */
protected $filePath = null;
-
+ /** @var finfo */
private $fileInfo;
-
- /**
- * @var \OCP\ILogger
- */
+ /** @var \OCP\ILogger */
private $logger;
/**