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.
2 parents 2f6d80f + 345ab6e commit b716431Copy full SHA for b716431
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