Skip to content

Commit 070ffcb

Browse files
author
SilinMykola
committedSep 8, 2022
1151 fix bug incorrecnt operation exception
1 parent 0eb537e commit 070ffcb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 

‎src/com/magento/idea/magento2plugin/reference/xml/PolyVariantReferenceBase.java

+9
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import com.intellij.psi.PsiElementResolveResult;
1111
import com.intellij.psi.PsiPolyVariantReferenceBase;
1212
import com.intellij.psi.ResolveResult;
13+
import com.intellij.util.IncorrectOperationException;
1314
import java.util.Collection;
1415
import org.jetbrains.annotations.NotNull;
1516

@@ -48,4 +49,12 @@ public ResolveResult[] multiResolve(final boolean incompleteCode) {
4849
}
4950
return resolveResults;
5051
}
52+
53+
@SuppressWarnings("PMD.AvoidUncheckedExceptionsInSignatures")
54+
@Override
55+
public PsiElement bindToElement(
56+
final @NotNull PsiElement element
57+
) throws IncorrectOperationException {
58+
return null;
59+
}
5160
}

0 commit comments

Comments
 (0)
Please sign in to comment.