From cf28f40c6d83bb3fea2e73c244b6ac8dd2e7bfe0 Mon Sep 17 00:00:00 2001 From: maximebf Date: Fri, 3 Feb 2012 16:16:52 +0100 Subject: [PATCH] Added missing doc comment [ci skip] --- lib/ConsoleKit/Colors.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/ConsoleKit/Colors.php b/lib/ConsoleKit/Colors.php index faee56c..35b293a 100644 --- a/lib/ConsoleKit/Colors.php +++ b/lib/ConsoleKit/Colors.php @@ -112,6 +112,14 @@ public static function colorize($text, $fgcolor = null, $bgcolor = null) return $text; } + /** + * Returns a text with each lines colorized independently + * + * @param string $text + * @param string $fgcolor + * @param string $bgcolor + * @return string + */ public static function colorizeLines($text, $fgcolor = null, $bgcolor = null) { $lines = explode("\n", $text);