mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-09 08:56:47 +00:00
Add return type to getDebugInfo
This commit is contained in:
@@ -448,6 +448,7 @@ final class ModuleNode extends Node
|
||||
$compiler
|
||||
->write("/**\n")
|
||||
->write(" * @codeCoverageIgnore\n")
|
||||
->write(" * @return array<int, int>\n")
|
||||
->write(" */\n")
|
||||
->write("public function getDebugInfo(): array\n", "{\n")
|
||||
->indent()
|
||||
|
||||
@@ -116,6 +116,7 @@ class __TwigTemplate_%x extends Template
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
* @return array<int, int>
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
@@ -206,6 +207,7 @@ class __TwigTemplate_%x extends Template
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
* @return array<int, int>
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
@@ -300,6 +302,7 @@ class __TwigTemplate_%x extends Template
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
* @return array<int, int>
|
||||
*/
|
||||
public function getDebugInfo(): array
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user