Skip to content

Commit

Permalink
Cleanup ConsoleIo docblocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Apr 11, 2014
1 parent 192bef8 commit e1917cc
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/Console/ConsoleIo.php
Expand Up @@ -110,7 +110,7 @@ public function level($level = null) {
}

/**
* Output only at the verbose level.
* Output at the verbose level.
*
* @param string|array $message A string or a an array of strings to output
* @param integer $newlines Number of newlines to append
Expand Down Expand Up @@ -146,7 +146,6 @@ public function quiet($message, $newlines = 1) {
* @param integer $newlines Number of newlines to append
* @param integer $level The message's output level, see above.
* @return integer|boolean Returns the number of bytes returned from writing to stdout.
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::out
*/
public function out($message = null, $newlines = 1, $level = ConsoleIo::NORMAL) {
if ($level <= $this->_level) {
Expand Down Expand Up @@ -195,7 +194,6 @@ public function overwrite($message, $newlines = 1, $size = null) {
* @param string|array $message A string or a an array of strings to output
* @param integer $newlines Number of newlines to append
* @return void
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::err
*/
public function err($message = null, $newlines = 1) {
$this->_err->write($message, $newlines);
Expand All @@ -206,7 +204,6 @@ public function err($message = null, $newlines = 1) {
*
* @param integer $multiplier Number of times the linefeed sequence should be repeated
* @return string
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::nl
*/
public function nl($multiplier = 1) {
return str_repeat(ConsoleOutput::LF, $multiplier);
Expand All @@ -218,7 +215,6 @@ public function nl($multiplier = 1) {
* @param integer $newlines Number of newlines to pre- and append
* @param integer $width Width of the line, defaults to 63
* @return void
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::hr
*/
public function hr($newlines = 0, $width = 63) {
$this->out(null, $newlines);
Expand All @@ -232,7 +228,6 @@ public function hr($newlines = 0, $width = 63) {
* @param string $prompt Prompt text.
* @param string $default Default input value.
* @return mixed Either the default value, or the user-provided input.
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::in
*/
public function ask($prompt, $default = null) {
return $this->_getInput($prompt, null, $default);
Expand All @@ -245,7 +240,6 @@ public function ask($prompt, $default = null) {
* @param string|array $options Array or string of options.
* @param string $default Default input value.
* @return mixed Either the default value, or the user-provided input.
* @link http://book.cakephp.org/2.0/en/console-and-shells.html#Shell::in
*/
public function askChoice($prompt, $options, $default = null) {
$originalOptions = $options;
Expand Down

0 comments on commit e1917cc

Please sign in to comment.