Skip to content

Commit

Permalink
Merge branch '3.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
OwlyCode committed Oct 20, 2019
2 parents cebf783 + 2cf00ca commit d6a9cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compatibility/TwigLexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function __construct(\Twig\Environment $env, array $options = [])
];
}

public function tokenize(\Twig\Source $source)
public function tokenize(\Twig\Source $source): \Twig\TokenStream
{
$this->source = $source;
$this->code = str_replace(["\r\n", "\r"], "\n", $source->getCode());
Expand Down

0 comments on commit d6a9cdf

Please sign in to comment.