diff --git a/src/Node/ModuleNode.php b/src/Node/ModuleNode.php index a127a399a53..ddb3f734622 100644 --- a/src/Node/ModuleNode.php +++ b/src/Node/ModuleNode.php @@ -448,7 +448,6 @@ protected function compileDebugInfo(Compiler $compiler) $compiler ->write("/**\n") ->write(" * @codeCoverageIgnore\n") - ->write(" * @return array\n") ->write(" */\n") ->write("public function getDebugInfo(): array\n", "{\n") ->indent() diff --git a/tests/Node/ModuleTest.php b/tests/Node/ModuleTest.php index b27e554bd20..4dbce150485 100644 --- a/tests/Node/ModuleTest.php +++ b/tests/Node/ModuleTest.php @@ -117,7 +117,6 @@ public function getTemplateName(): string /** * @codeCoverageIgnore - * @return array */ public function getDebugInfo(): array { @@ -208,7 +207,6 @@ public function isTraitable(): bool /** * @codeCoverageIgnore - * @return array */ public function getDebugInfo(): array { @@ -303,7 +301,6 @@ public function isTraitable(): bool /** * @codeCoverageIgnore - * @return array */ public function getDebugInfo(): array {