Skip to content
Browse files

Fixed the Command::nl() docblock. Method doesn't print to the output, it

builds a string and returns it.
  • Loading branch information...
1 parent c46bd6f commit d8f974235f0c75ada34512c38da2c093540c544f @rapzo rapzo committed Sep 12, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 console/Command.php
View
6 console/Command.php
@@ -331,10 +331,10 @@ public function columns($rows, $options = array()) {
}
/**
- * Add newlines ("\n") to the output stream.
+ * Add newlines ("\n") a given number of times and return them in a single string.
*
- * @param integer $number The number of new lines to print.
- * @return integer
+ * @param integer $number The number of new lines to fill into a string.
+ * @return string
*/
public function nl($number = 1) {
return str_repeat("\n", $number);

0 comments on commit d8f9742

Please sign in to comment.
Something went wrong with that request. Please try again.