Skip to content

Commit b716431

Browse files
committed
Merge branch '5.0'
* 5.0: Fix #35385: Fix Console typehint Fix RememberMe with null password [String] add missing encoding when calling mb_ord()
2 parents 2f6d80f + 345ab6e commit b716431

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Input/Input.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function getArguments()
104104
/**
105105
* {@inheritdoc}
106106
*/
107-
public function getArgument($name)
107+
public function getArgument(string $name)
108108
{
109109
if (!$this->definition->hasArgument($name)) {
110110
throw new InvalidArgumentException(sprintf('The "%s" argument does not exist.', $name));
@@ -116,7 +116,7 @@ public function getArgument($name)
116116
/**
117117
* {@inheritdoc}
118118
*/
119-
public function setArgument($name, $value)
119+
public function setArgument(string $name, $value)
120120
{
121121
if (!$this->definition->hasArgument($name)) {
122122
throw new InvalidArgumentException(sprintf('The "%s" argument does not exist.', $name));

0 commit comments

Comments
 (0)