Skip to content

Commit

Permalink
[Console] Remove doc block from recent value function
Browse files Browse the repository at this point in the history
  • Loading branch information
battye committed May 6, 2019
1 parent 0a762e2 commit 519be66
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/Symfony/Component/Console/Helper/QuestionHelper.php
Expand Up @@ -365,17 +365,11 @@ private function autocomplete(OutputInterface $output, Question $question, $inpu
return $fullChoice;
}

/**
* Determine the most recent value the user entered.
*
* @param $entered
*
* @return string
*/
private function mostRecentlyEnteredValue($entered)
{
$tempEntered = $entered;

// Determine the most recent value that the user entered
if (false !== strpos($entered, ',')) {
$choices = explode(',', $entered);
$lastChoice = trim($choices[\count($choices) - 1]);
Expand Down

0 comments on commit 519be66

Please sign in to comment.