Skip to content

Commit ee14c82

Browse files
Merge branch '5.4' into 6.4
* 5.4: [VarDumper] Fix tests
2 parents c16bb04 + 6be6a6a commit ee14c82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Dumper/CliDumperTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ public function testThrowingCaster()
343343
#message: "Unexpected Exception thrown from a caster: Foobar"
344344
trace: {
345345
%sTwig.php:2 {
346-
__TwigTemplate_VarDumperFixture_u75a09->doDisplay(array \$context, array \$blocks = [])
346+
__TwigTemplate_VarDumperFixture_u75a09->doDisplay(array \$context, array \$blocks = []): array
347347
› foo bar
348348
› twig source
349349

Tests/Fixtures/Twig.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function __construct(?Twig\Environment $env = null, $path = null)
2828
$this->path = $path;
2929
}
3030

31-
protected function doDisplay(array $context, array $blocks = [])
31+
protected function doDisplay(array $context, array $blocks = []): array
3232
{
3333
// line 2
3434
throw new \Exception('Foobar');

0 commit comments

Comments
 (0)