@@ -55,21 +55,21 @@ abstract class BaseGenerator extends Command implements GeneratorInterface {
5555 /**
5656 * The file system utility.
5757 *
58- * @var Filesystem
58+ * @var \Symfony\Component\Filesystem\ Filesystem
5959 */
6060 protected $ filesystem ;
6161
6262 /**
6363 * The twig environment.
6464 *
65- * @var Twig_Environment
65+ * @var \ Twig_Environment
6666 */
6767 protected $ twig ;
6868
6969 /**
7070 * The yaml dumper.
7171 *
72- * @var Dumper
72+ * @var \Symfony\Component\Yaml\ Dumper
7373 */
7474 protected $ yamlDumper ;
7575
@@ -96,6 +96,13 @@ abstract class BaseGenerator extends Command implements GeneratorInterface {
9696
9797 /**
9898 * Constructs a generator command.
99+ *
100+ * @param \Symfony\Component\Filesystem\Filesystem $filesystem
101+ * The file system utility.
102+ * @param \Twig_Environment $twig
103+ * The twig environment.
104+ * @param \Symfony\Component\Yaml\Dumper $yaml_dumper
105+ * The yaml dumper.
99106 */
100107 public function __construct (Filesystem $ filesystem , Twig_Environment $ twig , Dumper $ yaml_dumper ) {
101108 parent ::__construct ();
@@ -142,15 +149,15 @@ protected function configure() {
142149 }
143150
144151 /**
145- * Renders file .
152+ * Renders a template .
146153 *
147154 * @param string $template
148155 * Twig template.
149156 * @param array $vars
150157 * Template variables.
151158 *
152159 * @return string
153- * The rendered file .
160+ * A strign representing the rendered output .
154161 */
155162 protected function render ($ template , array $ vars ) {
156163 return $ this ->twig ->render ($ template , $ vars );
@@ -159,9 +166,9 @@ protected function render($template, array $vars) {
159166 /**
160167 * Asks the user for template variables.
161168 *
162- * @param InputInterface $input
169+ * @param \Symfony\Component\Console\Input\ InputInterface $input
163170 * Input instance.
164- * @param OutputInterface $output
171+ * @param \Symfony\Component\Console\Output\ OutputInterface $output
165172 * Output instance.
166173 * @param array $questions
167174 * List of questions that the user should answer.
@@ -306,17 +313,17 @@ protected function execute(InputInterface $input, OutputInterface $output) {
306313 /**
307314 * Asks a question to the user.
308315 *
309- * @param InputInterface $input
316+ * @param \Symfony\Component\Console\Input\ InputInterface $input
310317 * Input instance.
311- * @param OutputInterface $output
318+ * @param \Symfony\Component\Console\Output\ OutputInterface $output
312319 * Output instance.
313320 * @param string $question_text
314321 * The text of the question.
315322 * @param string $default_value
316323 * Default value for the question.
317324 *
318325 * @return string
319- * The user anwser .
326+ * The user answer .
320327 */
321328 protected function ask (InputInterface $ input , OutputInterface $ output , $ question_text , $ default_value ) {
322329 /** @var \Symfony\Component\Console\Helper\QuestionHelper $helper */
0 commit comments