Fix Token::__toString()

This commit is contained in:
Fabien Potencier
2025-01-25 16:41:07 +01:00
parent 939c0324c7
commit 11535e9058
+1 -1
View File
@@ -42,7 +42,7 @@ final class Token
public function __toString(): string
{
return \sprintf('%s(%s)', $this->toEnglish(), $this->value);
return \sprintf('%s(%s)', self::typeToString($this->type, true), $this->value);
}
/**