Browse Source

[Console] PHPDoc fixes

Tim Nagel 14 years ago
parent
commit
76e9b6ec97

+ 1 - 1
src/Symfony/Component/Console/Input/ArgvInput.php

@@ -260,7 +260,7 @@ class ArgvInput extends Input
      * before it has been validated. It must be used carefully.
      *
      * @param string|array $values The value(s) to look for in the raw parameters (can be an array)
-     *
+     * @param mixed $default The default value to return if no result is found
      * @return mixed The option value
      */
     public function getParameterOption($values, $default = false)

+ 1 - 0
src/Symfony/Component/Console/Input/ArrayInput.php

@@ -89,6 +89,7 @@ class ArrayInput extends Input
      * before it has been validated. It must be used carefully.
      *
      * @param string|array $values The value(s) to look for in the raw parameters (can be an array)
+     * @param mixed $default The default value to return if no result is found
      *
      * @return mixed The option value
      */

+ 1 - 0
src/Symfony/Component/Console/Input/InputInterface.php

@@ -44,6 +44,7 @@ interface InputInterface
      * before it has been validated. It must be used carefully.
      *
      * @param string|array $values The value(s) to look for in the raw parameters (can be an array)
+     * @param mixed $default The default value to return if no result is found
      *
      * @return mixed The option value
      */