Annotate type

Otherwise static code scanners will complain about this.
This commit is contained in:
Lukas Reschke 2016-01-04 14:18:01 +01:00
parent ebc52300e7
commit 26c3fa7911
1 changed files with 8 additions and 6 deletions

View File

@ -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;
/**