update patch 1

This commit is contained in:
fiqhpratama
2024-12-02 01:18:34 +07:00
parent 453d9bb470
commit 25026b0a85
3380 changed files with 103529 additions and 363623 deletions
+3 -3
View File
@@ -123,13 +123,13 @@ final class CompletionInput extends ArgvInput
if ($this->currentIndex >= \count($this->tokens)) {
if (!isset($this->arguments[$argumentName]) || $this->definition->getArgument($argumentName)->isArray()) {
$this->completionName = $argumentName;
$this->completionValue = '';
} else {
// we've reached the end
$this->completionType = self::TYPE_NONE;
$this->completionName = null;
$this->completionValue = '';
}
$this->completionValue = '';
}
}
@@ -226,7 +226,7 @@ final class CompletionInput extends ArgvInput
return $this->currentIndex >= $nrOfTokens;
}
public function __toString()
public function __toString(): string
{
$str = '';
foreach ($this->tokens as $i => $token) {