mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Annotate type
Otherwise static code scanners will complain about this.
This commit is contained in:
parent
ebc52300e7
commit
26c3fa7911
1 changed files with 8 additions and 6 deletions
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue