Skip to content

Commit a631a02

Browse files
committed
remove template for valid twig render function
1 parent c9c3a4d commit a631a02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/fr/adrienbrault/idea/symfony2plugin/templating/util/PhpMethodVariableResolveUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ private void visitMethodReference(@NotNull MethodReference methodReference) {
327327
}
328328
}
329329

330-
if(!methods.contains(methodName) && !methodName.toLowerCase().contains("template") && !methodName.toLowerCase().contains("render")) {
330+
if(!methods.contains(methodName) && !methodName.toLowerCase().contains("render")) {
331331
return;
332332
}
333333

0 commit comments

Comments
 (0)