[Console] removed unused $position parameter in Shell::autocompleter() method.
This commit is contained in:
parent
ef6297afdb
commit
a7f857da87
@ -107,10 +107,10 @@ EOF;
|
||||
/**
|
||||
* Tries to return autocompletion for the current entered text.
|
||||
*
|
||||
* @param string $text The last segment of the entered text
|
||||
* @param integer $position The current position
|
||||
* @param string $text The last segment of the entered text
|
||||
* @return Boolean|array A list of guessed strings or true
|
||||
*/
|
||||
private function autocompleter($text, $position)
|
||||
private function autocompleter($text)
|
||||
{
|
||||
$info = readline_info();
|
||||
$text = substr($info['line_buffer'], 0, $info['end']);
|
||||
|
Reference in New Issue
Block a user