[Console] removed unused $position parameter in Shell::autocompleter() method.

This commit is contained in:
Hugo Hamon 2012-01-10 21:11:12 +01:00
parent ef6297afdb
commit a7f857da87

View File

@ -107,10 +107,10 @@ EOF;
/** /**
* Tries to return autocompletion for the current entered text. * Tries to return autocompletion for the current entered text.
* *
* @param string $text The last segment of the entered text * @param string $text The last segment of the entered text
* @param integer $position The current position * @return Boolean|array A list of guessed strings or true
*/ */
private function autocompleter($text, $position) private function autocompleter($text)
{ {
$info = readline_info(); $info = readline_info();
$text = substr($info['line_buffer'], 0, $info['end']); $text = substr($info['line_buffer'], 0, $info['end']);