Skip to content

Commit

Permalink
Merge branch '6.4' into 7.1
Browse files Browse the repository at this point in the history
* 6.4:
  Fix expected missing return types
  [VarDumper] Fix tests
  • Loading branch information
nicolas-grekas committed Aug 30, 2024
2 parents 6c7d1f0 + ee14c82 commit a5fa748
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/Dumper/CliDumperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public function testThrowingCaster()
#message: "Unexpected Exception thrown from a caster: Foobar"
trace: {
%sTwig.php:2 {
__TwigTemplate_VarDumperFixture_u75a09->doDisplay(array \$context, array \$blocks = [])
__TwigTemplate_VarDumperFixture_u75a09->doDisplay(array \$context, array \$blocks = []): array
› foo bar
› twig source
Expand Down
2 changes: 1 addition & 1 deletion Tests/Fixtures/Twig.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __construct(?Twig\Environment $env = null, $path = null)
$this->path = $path;
}

protected function doDisplay(array $context, array $blocks = [])
protected function doDisplay(array $context, array $blocks = []): array
{
// line 2
throw new \Exception('Foobar');
Expand Down

0 comments on commit a5fa748

Please sign in to comment.