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 authored and tischsoic committed Oct 22, 2024
1 parent 4f54a42 commit b552a54
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 b552a54

Please sign in to comment.