mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-29 11:37:56 +00:00
Fix Token::__toString()
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user