File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/com/magento/idea/magento2plugin/inspections/xml Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,8 @@ public void visitXmlTag(final XmlTag xmlTag) {
73
73
problemsHolder .getProject ()
74
74
);
75
75
@ NotNull final Collection <PhpClass > classes = phpIndex .getClassesByFQN (classFqn );
76
- @ NotNull final Collection <PhpClass > interfaces = phpIndex .getInterfacesByFQN (classFqn );
76
+ @ NotNull final Collection <PhpClass > interfaces = phpIndex
77
+ .getInterfacesByFQN (classFqn );
77
78
if (classes .isEmpty () && interfaces .isEmpty ()) {
78
79
problemsHolder .registerProblem (
79
80
classAttribute ,
@@ -140,7 +141,10 @@ public void visitXmlTag(final XmlTag xmlTag) {
140
141
}
141
142
142
143
@ Nullable
143
- private Method findTargetMethod (final Collection <PhpClass > classes , final String methodName ) {
144
+ private Method findTargetMethod (
145
+ final Collection <PhpClass > classes ,
146
+ final String methodName
147
+ ) {
144
148
for (final PhpClass phpClass : classes ) {
145
149
for (final Method method : phpClass .getMethods ()) {
146
150
if (method .getName ().equals (methodName )) {
You can’t perform that action at this time.
0 commit comments