diff --git a/console.php b/console.php index 3b1db99..95a289e 100644 --- a/console.php +++ b/console.php @@ -24,7 +24,6 @@ class console { // PROPERTIES // {{{ -private $usleep = 0; /** Save the initial stty value */ private $initSttyState; @@ -43,8 +42,9 @@ private $usleep = 0; private $nonWriteableChar = array (1, 2, 3, 4, 6, 8, 9, 16, 18, 20, 21, 22, 23, 24, 25, 27, 127); - /* The history list in an array - */ + + /** The history list in an array + */ private $history = array (); /** The history max size in entries @@ -247,8 +247,8 @@ private $usleep = 0; * Stop when the user valid by \n. * Manage correctely the backspace, the Ctrl+W to remove word... * @param string $propo Preset the text for the user - * @param bool|string $stopperChar The chars to stop the analysis and return - * the result + * @param boolean|string $stopperChar The chars to stop the analysis and + * return the result * @return The typed string */ public function readline ($propo = "", $stopperChar = false) @@ -859,10 +859,10 @@ private $usleep = 0; if ($tmp !== $part) { break 2; - } - } + } + } $identicalString = $tmp; - $sameCharLength++; + $sameCharLength++; } return $identicalString; }