Skip to content

Commit

Permalink
Merge branch '5.4' into 6.4
Browse files Browse the repository at this point in the history
* 5.4:
  [VarDumper] Fix tests
  • Loading branch information
nicolas-grekas committed Aug 30, 2024
2 parents c16bb04 + 6be6a6a commit ee14c82
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 ee14c82

Please sign in to comment.