if (!Symfony2ProjectComponent.isEnabled(this.psiElement)) {
return null;
}
ArrayCreationExpression arrayCreationExpression = PhpElementsUtil.getCompletableArrayCreationElement(this.psiElement);
if (arrayCreationExpression == null) {
return null;
}
PsiElement parameterList = arrayCreationExpression.getContext();
if (!(parameterList instanceof ParameterList)) {
return null;
}
PsiElement methodParameters[] = ((ParameterList) parameterList).getParameters();