Completed
Pull Request — master (#9164)
by Morris
17:25
created
lib/private/Avatar.php 1 patch
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -295,6 +295,7 @@  discard block
 block discarded – undo
295 295
 	 * Calculate steps between two Colors
296 296
 	 * @param object Color $steps start color
297 297
 	 * @param object Color $ends end color
298
+	 * @param integer $steps
298 299
 	 * @return array [r,g,b] steps for each color to go from $steps to $ends
299 300
 	 */
300 301
 	private function stepCalc($steps, $ends) {
@@ -306,8 +307,9 @@  discard block
 block discarded – undo
306 307
 	}
307 308
 	/**
308 309
 	 * Convert a string to an integer evenly
309
-	 * @param string $hash the text to parse
310
-	 * @param int $maximum the maximum range
310
+	 * @param integer $steps
311
+	 * @param Color $color1
312
+	 * @param Color $color2
311 313
 	 * @return int between 0 and $maximum
312 314
 	 */
313 315
 	private function mixPalette($steps, $color1, $color2) {
Please login to merge, or discard this patch.