You should remove the phpdoc:
https://github.com/lyrixx/Twig/blob/6f4903bba181b0ec7c533d44e1dd8afb4618ac44/lib/Twig/Token.php#L124