File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/com/magento/idea/magento2plugin/completion/provider Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 2020public class PhpJobMethodCompletionContributor extends CompletionProvider <CompletionParameters > {
2121
2222 @ Override
23- protected void addCompletions (@ NotNull CompletionParameters parameters ,
24- ProcessingContext context ,
25- @ NotNull CompletionResultSet result ) {
26- PsiElement position = parameters .getPosition ().getOriginalElement ();
23+ protected void addCompletions (@ NotNull final CompletionParameters parameters ,
24+ final ProcessingContext context ,
25+ @ NotNull final CompletionResultSet result ) {
26+ final PsiElement position = parameters .getPosition ().getOriginalElement ();
2727 if (position == null ) {
2828 return ;
2929 }
3030
31- PhpClass phpClass = DiIndex .getPhpClassOfJobMethod ((XmlElement ) position );
31+ final PhpClass phpClass = DiIndex .getPhpClassOfJobMethod ((XmlElement ) position );
3232 if (phpClass != null ) {
33- for (Method method : phpClass .getMethods ()) {
33+ for (final Method method : phpClass .getMethods ()) {
3434 result .addElement (
3535 LookupElementBuilder
3636 .create (method .getName ())
You can’t perform that action at this time.
0 commit comments