diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-01-05 12:36:31 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-01-05 12:36:31 +0100 |
commit | a86e067154bb959ebdb4b76a9691e9bb99d51306 (patch) | |
tree | 81abdb333d8eda1cf660ea3f09bbacd2ccb5b408 /lib | |
parent | d4034ffca0b8ee2cbbd17ae35ed02c10d677e4a0 (diff) | |
parent | 26c3fa7911484e460565ca20980dfa75ec4032f2 (diff) | |
download | nextcloud-server-a86e067154bb959ebdb4b76a9691e9bb99d51306.tar.gz nextcloud-server-a86e067154bb959ebdb4b76a9691e9bb99d51306.zip |
Merge pull request #21442 from owncloud/annotate-type
Annotate type
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/image.php | 14 |
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; /** |