Skip to content

Commit ea5186c

Browse files
committed
[PHPStan] Adjusted code to the newest version of twig package
1 parent 46e0e4a commit ea5186c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ public function getSourceContext(): Source
7676
return new Source('', '');
7777
}
7878

79-
protected function doDisplay(array $context, array $blocks = []): string
79+
protected function doDisplay(array $context, array $blocks = []): iterable
8080
{
81-
return '';
81+
return [];
8282
}
8383

8484
/**

0 commit comments

Comments
 (0)