diff --git a/apps/calendar/lib/calendar.php b/apps/calendar/lib/calendar.php index c852740596..6cac99ba48 100644 --- a/apps/calendar/lib/calendar.php +++ b/apps/calendar/lib/calendar.php @@ -290,7 +290,8 @@ class OC_Calendar_Calendar{ /* * @brief generates the text color for the calendar - * @param integer $calendarname + * @param string $calendarcolor rgb calendar color code in hex format (with or without the leading #) + * (this function doesn't pay attention on the alpha value of rgba color codes) * @return boolean */ public static function generateTextColor($calendarcolor){