Add return type to getDebugInfo

This commit is contained in:
Ruud Kamphuis
2024-10-24 13:37:17 +02:00
parent b0017ad8c3
commit 0bb49dc40f
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -448,6 +448,7 @@ final class ModuleNode extends Node
$compiler $compiler
->write("/**\n") ->write("/**\n")
->write(" * @codeCoverageIgnore\n") ->write(" * @codeCoverageIgnore\n")
->write(" * @return array<int, int>\n")
->write(" */\n") ->write(" */\n")
->write("public function getDebugInfo(): array\n", "{\n") ->write("public function getDebugInfo(): array\n", "{\n")
->indent() ->indent()
+3
View File
@@ -116,6 +116,7 @@ class __TwigTemplate_%x extends Template
/** /**
* @codeCoverageIgnore * @codeCoverageIgnore
* @return array<int, int>
*/ */
public function getDebugInfo(): array public function getDebugInfo(): array
{ {
@@ -206,6 +207,7 @@ class __TwigTemplate_%x extends Template
/** /**
* @codeCoverageIgnore * @codeCoverageIgnore
* @return array<int, int>
*/ */
public function getDebugInfo(): array public function getDebugInfo(): array
{ {
@@ -300,6 +302,7 @@ class __TwigTemplate_%x extends Template
/** /**
* @codeCoverageIgnore * @codeCoverageIgnore
* @return array<int, int>
*/ */
public function getDebugInfo(): array public function getDebugInfo(): array
{ {