Skip to content

Commit

Permalink
[PHPStan] Adjusted code to the newest version of twig package
Browse files Browse the repository at this point in the history
  • Loading branch information
mikadamczyk committed Oct 22, 2024
1 parent 46e0e4a commit ea5186c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ public function getSourceContext(): Source
return new Source('', '');
}

protected function doDisplay(array $context, array $blocks = []): string
protected function doDisplay(array $context, array $blocks = []): iterable
{
return '';
return [];
}

/**
Expand Down

0 comments on commit ea5186c

Please sign in to comment.