We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b8420c2 + 3c5f38c commit 0bc74a8Copy full SHA for 0bc74a8
src/com/magento/idea/magento2plugin/linemarker/xml/LineMarkerXmlTagDecorator.java
@@ -501,7 +501,10 @@ public void delete() throws IncorrectOperationException {
501
502
@Override
503
public void checkDelete() throws IncorrectOperationException {
504
- xmlTag.checkDelete();
+ if (xmlTag instanceof XmlTagImpl) {
505
+ ((XmlTagImpl) xmlTag).checkDelete();
506
+ }
507
+ throw new IncorrectOperationException(getClass().getName());
508
}
509
510
0 commit comments