Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 61529f3

Browse filesBrowse files
liarcofabpot
authored andcommitted
[Console] fixed PHPDoc for setArgument/setOption in InputInterface
1 parent 992a174 commit 61529f3
Copy full SHA for 61529f3

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎src/Symfony/Component/Console/Input/InputInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Input/InputInterface.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ public function getArgument($name);
9090
/**
9191
* Sets an argument value by name.
9292
*
93-
* @param string $name The argument name
94-
* @param string $value The argument value
93+
* @param string $name The argument name
94+
* @param string|string[] $value The argument value
9595
*
9696
* @throws InvalidArgumentException When argument given doesn't exist
9797
*/
@@ -127,8 +127,8 @@ public function getOption($name);
127127
/**
128128
* Sets an option value by name.
129129
*
130-
* @param string $name The option name
131-
* @param string|bool $value The option value
130+
* @param string $name The option name
131+
* @param string|string[]|bool $value The option value
132132
*
133133
* @throws InvalidArgumentException When option given doesn't exist
134134
*/

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.