Skip to content

Commit ca67843

Browse files
committed
Remove deprecated PsiEditorUtil.Service call
1 parent 7cc4a55 commit ca67843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/com/intellij/lang/jsgraphql/ide/validation/fixes/GraphQLMissingTypeFix.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void invoke(@NotNull Project project,
6666
@NotNull PsiElement startElement,
6767
@NotNull PsiElement endElement) {
6868
if (editor == null) {
69-
editor = PsiEditorUtil.Service.getInstance().findEditorByPsiElement(startElement);
69+
editor = PsiEditorUtil.getInstance().findEditorByPsiElement(startElement);
7070
if (editor == null) {
7171
return;
7272
}

0 commit comments

Comments
 (0)