diff --git a/src/Token.php b/src/Token.php index e14c886c3b..b8f337af9f 100644 --- a/src/Token.php +++ b/src/Token.php @@ -42,7 +42,7 @@ public function __construct( public function __toString(): string { - return \sprintf('%s(%s)', $this->toEnglish(), $this->value); + return \sprintf('%s(%s)', self::typeToString($this->type, true), $this->value); } /**