From 26c3fa7911484e460565ca20980dfa75ec4032f2 Mon Sep 17 00:00:00 2001
From: Lukas Reschke <lukas@owncloud.com>
Date: Mon, 4 Jan 2016 14:18:01 +0100
Subject: [PATCH] Annotate type

Otherwise static code scanners will complain about this.
---
 lib/private/image.php | 14 ++++++++------
 1 file 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;
 
 	/**
-- 
GitLab