Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

@rapzo

it builds a string and returns it.

@nateabele nateabele merged commit 471bdd6 into UnionOfRAD:dev

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 12, 2012
  1. @rapzo

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

    rapzo authored
    builds a string and returns it.
This page is out of date. Refresh to see the latest.
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);
Something went wrong with that request. Please try again.