original_string: public function getAnswers(\Composer\IO\IOInterface $io, array $questions): array {
      $answers = [];
      foreach($questions as $key => $question) {
        $answers[$key] = $io->ask($question->getQuestion(), $question->getDefault());
      }
      return $answers;
    }
code: public function getAnswers(\Composer\IO\IOInterface $io, array $questions): array {
      $answers = [];
      foreach($questions as $key => $question) {
        $answers[$key] = $io->ask($question->getQuestion(), $question->getDefault());
      }
      return $answers;
    }
code_tokens: public function getAnswers ( \ Composer \ IO \ IOInterface $ io , array $ questions ) : array { $ answers = [ ] ; foreach ( $ questions as $ key => $ question ) { $ answers [ $ key ] = $ io -> ask ( $ question -> getQuestion ( ) , $ question -> getDefault ( ) ) ; } return $ answers ; }
docstring: Iterates over the given questions and uses them to ask the questions via the given io and feed with the defaults.
  
  The answers array will contain the answer from the io with the key from the questions array.
  
  $questions: ['some key' => \de\codenamephp\platform\cli\question\iQuestion, ...]
  $answers: ['some key' => 'given answer', ...]
  
  @param \Composer\IO\IOInterface $io The composer io used to ask the questions on the command line
  @param \de\codenamephp\platform\cli\question\iQuestion[string]  $questions The questions to be asked, the keys will be used for tha answers array
  @return string[] Contains the given answers with the keys from the questions
docstring_tokens: Iterates over the given questions and uses them to ask the questions via the given io and feed with the defaults .