8000 Merge branch '5.4' into 6.4 · symfony/symfony@b2e9463 · GitHub
[go: up one dir, main page]

Skip to content

Commit b2e9463

Browse files
Merge branch '5.4' into 6.4
* 5.4: [VarDumper] Fix tests
2 parents 04d722e + fec1c15 commit b2e9463

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/VarDumper/Tests/Dumper/CliDumperTest.php

Lines changed: 1 addition & 1 deletion
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

src/Symfony/Component/VarDumper/Tests/Fixtures/Twig.php

Lines changed: 1 addition & 1 deletion
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)
0