diff --git a/src/Symfony/Components/Console/Application.php b/src/Symfony/Components/Console/Application.php index 84a4436497..22854f1cb7 100644 --- a/src/Symfony/Components/Console/Application.php +++ b/src/Symfony/Components/Console/Application.php @@ -530,7 +530,7 @@ class Application /** * Returns an array of possible abbreviations given a set of names. * - * @param array An array of names + * @param array $names An array of names * * @return array An array of abbreviations */ diff --git a/src/Symfony/Components/Console/Helper/DialogHelper.php b/src/Symfony/Components/Console/Helper/DialogHelper.php index 929bb85a19..f61e796bd4 100644 --- a/src/Symfony/Components/Console/Helper/DialogHelper.php +++ b/src/Symfony/Components/Console/Helper/DialogHelper.php @@ -29,7 +29,7 @@ class DialogHelper extends Helper * @param string|array $question The question to ask * @param string $default The default answer if none is given by the user * - * @param string The user answer + * @return string The user answer */ public function ask(OutputInterface $output, $question, $default = null) { @@ -51,7 +51,7 @@ class DialogHelper extends Helper * @param string|array $question The question to ask * @param Boolean $default The default answer if the user enters nothing * - * @param Boolean true if the user has confirmed, false otherwise + * @return Boolean true if the user has confirmed, false otherwise */ public function askConfirmation(OutputInterface $output, $question, $default = true) {