1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[ticket/16654] Upgrade Twig to version 3

PHPBB3-16654
This commit is contained in:
rxu
2020-12-01 13:10:45 +07:00
parent 382c7acbc8
commit 1d9f9b5ecd
14 changed files with 83 additions and 79 deletions

View File

@@ -15,7 +15,7 @@ namespace phpbb\template\twig;
class lexer extends \Twig\Lexer
{
public function tokenize(\Twig\Source $source)
public function tokenize(\Twig\Source $source) : \Twig\TokenStream
{
$code = $source->getCode();
$filename = $source->getName();