Skip to content

Commit 3b97b80

Browse files
committed
Revert "Remove deprecated PsiEditorUtil.Service call"
This reverts commit ca67843.
1 parent f25549a commit 3b97b80

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.getInstance().findEditorByPsiElement(startElement);
69+
editor = PsiEditorUtil.Service.getInstance().findEditorByPsiElement(startElement);
7070
if (editor == null) {
7171
return;
7272
}

0 commit comments

Comments
 (0)