From 92e09b2b89cf21dbef4e71029bb741da152e4900 Mon Sep 17 00:00:00 2001 From: Daniel Espendiller Date: Sat, 3 Jun 2017 15:53:19 +0300 Subject: [PATCH] Add Nullable for YAMLKeyValue::getParentMapping to sync it with YAMLKeyValueImpl npe issue because of not seeing nullable return value: https://github.com/Haehnchen/idea-php-symfony2-plugin/issues/942 --- plugins/yaml/src/org/jetbrains/yaml/psi/YAMLKeyValue.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/yaml/src/org/jetbrains/yaml/psi/YAMLKeyValue.java b/plugins/yaml/src/org/jetbrains/yaml/psi/YAMLKeyValue.java index 967b74afbc37..fea071cf60ee 100644 --- a/plugins/yaml/src/org/jetbrains/yaml/psi/YAMLKeyValue.java +++ b/plugins/yaml/src/org/jetbrains/yaml/psi/YAMLKeyValue.java @@ -27,7 +27,8 @@ public interface YAMLKeyValue extends YAMLPsiElement, PsiNamedElement, PomTarget @NotNull String getValueText(); + @Nullable YAMLMapping getParentMapping(); void setValue(@NotNull YAMLValue value); -} \ No newline at end of file +}