Passed
Branch develop (5fb105)
by Jens
02:47
created
cloudcontrol/library/images/Image.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -73,6 +73,7 @@
 block discarded – undo
73 73
 		 * @see http://www.php.net/manual/en/function.image-type-to-mime-type.php
74 74
 		 * @param string 	$imagePath
75 75
 		 * @param bool 		$getExtension
76
+		 * @return integer
76 77
 		 */
77 78
 		public function GetImageMimeType($imagePath, $getExtension = false)
78 79
 		{
Please login to merge, or discard this patch.
cloudcontrol/library/images/ImageResizer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 		}
26 26
 
27 27
 		/**
28
-		 * @param $imagePath
28
+		 * @param string $imagePath
29 29
 		 *
30 30
 		 * @return array
31 31
 		 * @throws \Exception
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 		}
113 113
 
114 114
 		/**
115
-		 * @param        $imagePath
115
+		 * @param        string $imagePath
116 116
 		 * @param string $modifier
117 117
 		 *
118 118
 		 * @return string
Please login to merge, or discard this patch.
cloudcontrol/library/images/methods/Watermark.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 		 * Use build-in logic to position the x of watermark
58 58
 		 *
59 59
 		 * @param 	string $imageResource
60
-		 * @return 	self
60
+		 * @return 	integer
61 61
 		 */
62 62
 		protected function calculateX($imageResource)
63 63
 		{
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 		 * Use build-in logic to position the y of watermark
83 83
 		 *
84 84
 		 * @param 	string $imageResource
85
-		 * @return 	self
85
+		 * @return 	integer
86 86
 		 */
87 87
 		public function calculateY($imageResource)
88 88
 		{
@@ -131,6 +131,7 @@  discard block
 block discarded – undo
131 131
 		 * Set the x
132 132
 		 *
133 133
 		 * @param  int | string $x
134
+		 * @param string $x
134 135
 		 * @return self
135 136
 		 */
136 137
 		public function SetX($x)
@@ -143,6 +144,7 @@  discard block
 block discarded – undo
143 144
 		 * Set the y
144 145
 		 *
145 146
 		 * @param  int | string $y
147
+		 * @param string $y
146 148
 		 * @return self
147 149
 		 */
148 150
 		public function SetY($y)
Please login to merge, or discard this patch.