File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
src/com/magento/idea/magento2plugin/inspections/xml/fix Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 77
88import com .intellij .codeInspection .LocalQuickFix ;
99import com .intellij .codeInspection .ProblemDescriptor ;
10- import com .intellij .openapi .command .WriteCommandAction ;
1110import com .intellij .openapi .project .Project ;
1211import com .jetbrains .php .lang .inspections .quickfix .PhpChangeMethodModifiersQuickFix ;
1312import com .jetbrains .php .lang .psi .elements .Method ;
1615import org .jetbrains .annotations .NotNull ;
1716
1817public class MethodNotPublicAccessQuickFix implements LocalQuickFix {
19- private InspectionBundle inspectionBundle = new InspectionBundle ();
20- private Method method ;
18+ private final InspectionBundle inspectionBundle = new InspectionBundle ();
19+ private final Method method ;
2120
22- public MethodNotPublicAccessQuickFix (Method method ) {
21+ public MethodNotPublicAccessQuickFix (final Method method ) {
2322 this .method = method ;
2423 }
2524
@@ -30,7 +29,10 @@ public String getFamilyName() {
3029 }
3130
3231 @ Override
33- public void applyFix (@ NotNull Project project , @ NotNull ProblemDescriptor descriptor ) {
32+ public void applyFix (
33+ final @ NotNull Project project ,
34+ final @ NotNull ProblemDescriptor descriptor
35+ ) {
3436 PhpChangeMethodModifiersQuickFix .changeMethodModifier (
3537 this .method ,
3638 PhpModifier .PUBLIC_IMPLEMENTED_DYNAMIC
You can’t perform that action at this time.
0 commit comments