Completed
Push — master ( fb34ef...04f47a )
by Jan-Christoph
17:06
created
lib/private/Avatar.php 1 patch
Doc Comments   +10 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,6 +44,12 @@  discard block
 block discarded – undo
44 44
 
45 45
 class Color {
46 46
 	public $r, $g, $b;
47
+
48
+	/**
49
+	 * @param integer $r
50
+	 * @param integer $g
51
+	 * @param integer $b
52
+	 */
47 53
 	public function __construct($r, $g, $b) {
48 54
 		$this->r = $r;
49 55
 		$this->g = $g;
@@ -304,6 +310,7 @@  discard block
 block discarded – undo
304 310
 	 * Calculate steps between two Colors
305 311
 	 * @param object Color $steps start color
306 312
 	 * @param object Color $ends end color
313
+	 * @param integer $steps
307 314
 	 * @return array [r,g,b] steps for each color to go from $steps to $ends
308 315
 	 */
309 316
 	private function stepCalc($steps, $ends) {
@@ -315,8 +322,9 @@  discard block
 block discarded – undo
315 322
 	}
316 323
 	/**
317 324
 	 * Convert a string to an integer evenly
318
-	 * @param string $hash the text to parse
319
-	 * @param int $maximum the maximum range
325
+	 * @param integer $steps
326
+	 * @param Color $color1
327
+	 * @param Color $color2
320 328
 	 * @return int between 0 and $maximum
321 329
 	 */
322 330
 	private function mixPalette($steps, $color1, $color2) {
Please login to merge, or discard this patch.