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.
1 parent 1c8b1ab commit ba99c90Copy full SHA for ba99c90
src/com/magento/idea/magento2plugin/stubs/indexes/WebApiTypeIndex.java
@@ -149,7 +149,7 @@ public static List<XmlTag> getWebApiRoutes(final Method method) {
149
final String methodFqn = method.getName();
150
151
for (final VirtualFile virtualFile : containingFiles) {
152
- if (!(virtualFile instanceof XmlFile)) {
+ if (virtualFile.getFileType() != XmlFileType.INSTANCE) {
153
continue;
154
}
155
final XmlFile file = (XmlFile) psiManager.findFile(virtualFile);
0 commit comments