Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5bf2f71

Browse files
committed
[Console] added deprecation annotation
1 parent f95f8e2 commit 5bf2f71

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/Console/Input/StringInput.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ class StringInput extends ArgvInput
3333
* @param string $input An array of parameters from the CLI (in the argv format)
3434
* @param InputDefinition $definition A InputDefinition instance
3535
*
36+
* @deprecated The second argument is deprecated as it does not work (will be removed in 3.0), use 'bind' method instead
37+
*
3638
* @api
3739
*/
3840
public function __construct($input, InputDefinition $definition = null)

0 commit comments

Comments
 (0)