Update vendor folder and generated files

This commit is contained in:
Frédéric Guillot
2023-07-03 15:58:34 -07:00
committed by Frédéric Guillot
parent 25b93343ba
commit 280bc2a41e
174 changed files with 20119 additions and 1965 deletions

View File

@@ -92,7 +92,7 @@ class ConsoleSectionOutput extends StreamOutput
/**
* {@inheritdoc}
*/
protected function doWrite($message, $newline)
protected function doWrite(string $message, bool $newline)
{
if (!$this->isDecorated()) {
parent::doWrite($message, $newline);
@@ -136,8 +136,8 @@ class ConsoleSectionOutput extends StreamOutput
return implode('', array_reverse($erasedContent));
}
private function getDisplayLength(string $text): string
private function getDisplayLength(string $text): int
{
return Helper::strlenWithoutDecoration($this->getFormatter(), str_replace("\t", ' ', $text));
return Helper::width(Helper::removeDecoration($this->getFormatter(), str_replace("\t", ' ', $text)));
}
}