in php/src/ru/adelf/idea/dotenv/php/PhpPsiHelper.java [63:77]
private static boolean isFunctionParameter(PsiElement psiElement, int parameterIndex, List<String> functions) {
PsiElement variableContext = psiElement.getContext();
if(!(variableContext instanceof ParameterList parameterList)) {
return false;
} else {
PsiElement context = parameterList.getContext();
if(!(context instanceof FunctionReference methodReference)) {
return false;
} else {
String name = methodReference.getName();
return (name != null && functions.contains(name) && getParameterIndex(parameterList, psiElement) == parameterIndex);
}
}
}