Skip to content

Commit 590340f

Browse files
committed
fix wrong instance of check in DocHashtagReference #1024
1 parent 9c745a4 commit 590340f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fr/adrienbrault/idea/symfony2plugin/util/DocHashTagReferenceContributor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public boolean isValid() {
196196
}
197197

198198
PsiElement resolvedReference = psiReference.resolve();
199-
if (!(resolvedReference instanceof Function)) {
199+
if (!(resolvedReference instanceof Method)) {
200200
return false;
201201
}
202202

0 commit comments

Comments
 (0)