We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3864e8f + aeea0a5 commit 0bd6136Copy full SHA for 0bd6136
src/Symfony/Component/VarDumper/Tests/Fixtures/Twig.php
@@ -34,17 +34,17 @@ protected function doDisplay(array $context, array $blocks = [])
34
throw new \Exception('Foobar');
35
}
36
37
- public function getTemplateName()
+ public function getTemplateName(): string
38
{
39
return 'foo.twig';
40
41
42
- public function getDebugInfo()
+ public function getDebugInfo(): array
43
44
return [33 => 1, 34 => 2];
45
46
47
- public function getSourceContext()
+ public function getSourceContext(): Twig\Source
48
49
return new Twig\Source(" foo bar\n twig source\n\n", 'foo.twig', $this->path ?: __FILE__);
50
0 commit comments