Skip to content

Commit

Permalink
Revert "minor #4411 Add return type to getDebugInfo (ruudk)"
Browse files Browse the repository at this point in the history
This reverts commit 868b429, reversing
changes made to b0017ad.
  • Loading branch information
fabpot committed Oct 25, 2024
1 parent 09b4693 commit 494f010
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Node/ModuleNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@ protected function compileDebugInfo(Compiler $compiler)
$compiler
->write("/**\n")
->write(" * @codeCoverageIgnore\n")
->write(" * @return array<int, int>\n")
->write(" */\n")
->write("public function getDebugInfo(): array\n", "{\n")
->indent()
Expand Down
3 changes: 0 additions & 3 deletions tests/Node/ModuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ public function getTemplateName(): string
/**
* @codeCoverageIgnore
* @return array<int, int>
*/
public function getDebugInfo(): array
{
Expand Down Expand Up @@ -208,7 +207,6 @@ public function isTraitable(): bool
/**
* @codeCoverageIgnore
* @return array<int, int>
*/
public function getDebugInfo(): array
{
Expand Down Expand Up @@ -303,7 +301,6 @@ public function isTraitable(): bool
/**
* @codeCoverageIgnore
* @return array<int, int>
*/
public function getDebugInfo(): array
{
Expand Down

0 comments on commit 494f010

Please sign in to comment.