diff options
Diffstat (limited to 'lib/private/image.php')
-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; /** |