Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fec1c15

Browse files
[VarDumper] Fix tests
1 parent c210fab commit fec1c15

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
@@ -365,7 +365,7 @@ public function testThrowingCaster()
365365
#message: "Unexpected Exception thrown from a caster: Foobar"
366366
trace: {
367367
%sTwig.php:2 {
368-
__TwigTemplate_VarDumperFixture_u75a09->doDisplay(array \$context, array \$blocks = [])
368+
__TwigTemplate_VarDumperFixture_u75a09->doDisplay(array \$context, array \$blocks = []): array
369369
› foo bar
370370
› twig source
371371

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)