You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rules-tests/CodeQuality/Rector/ClassMethod/TemplateAnnotationToThisRenderRector/Fixture/with_array_return_type.php.inc
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,16 @@ final class WithArrayReturnType extends AbstractController
16
16
{
17
17
return [];
18
18
}
19
+
20
+
/**
21
+
* @Template("AppBundle:Module:next.html.twig")
22
+
*
23
+
* @return array{items: mixed[]}
24
+
*/
25
+
publicfunctionlist(): array
26
+
{
27
+
return ['items' => []];
28
+
}
19
29
}
20
30
21
31
?>
@@ -36,6 +46,11 @@ final class WithArrayReturnType extends AbstractController
Copy file name to clipboardExpand all lines: rules-tests/CodeQuality/Rector/ClassMethod/TemplateAnnotationToThisRenderRector/Fixture/with_only_vars.php.inc
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,14 @@ class WithOnlyVarsController extends AbstractController
0 commit comments