Procházet zdrojové kódy

[Console] fixed phpdoc

Fabien Potencier před 15 roky
rodič
revize
108e28429a

+ 1 - 1
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
      */

+ 2 - 2
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)
     {