Skip to content

Commit fcd0332

Browse files
committed
minor #4557 Fix Token::__toString() (fabpot)
This PR was merged into the 3.x branch. Discussion ---------- Fix Token::__toString() Broken by #4554 Commits ------- 11535e9 Fix Token::__toString()
2 parents b680354 + 11535e9 commit fcd0332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Token.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct(
4242

4343
public function __toString(): string
4444
{
45-
return \sprintf('%s(%s)', $this->toEnglish(), $this->value);
45+
return \sprintf('%s(%s)', self::typeToString($this->type, true), $this->value);
4646
}
4747

4848
/**

0 commit comments

Comments
 (0)