mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-19 22:07:40 +00:00
Add return type to getDebugInfo
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user