Commit 26c3fa79 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Annotate type

Otherwise static code scanners will complain about this.
parent ebc52300
......@@ -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;
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment