We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 062fa14 commit 345ab6eCopy full SHA for 345ab6e
Input/Input.php
@@ -104,7 +104,7 @@ public function getArguments()
104
/**
105
* {@inheritdoc}
106
*/
107
- public function getArgument($name)
+ public function getArgument(string $name)
108
{
109
if (!$this->definition->hasArgument($name)) {
110
throw new InvalidArgumentException(sprintf('The "%s" argument does not exist.', $name));
@@ -116,7 +116,7 @@ public function getArgument($name)
116
117
118
119
- public function setArgument($name, $value)
+ public function setArgument(string $name, $value)
120
121
122
0 commit comments