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) {
7373 problemsHolder .getProject ()
7474 );
7575 @ 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 );
7778 if (classes .isEmpty () && interfaces .isEmpty ()) {
7879 problemsHolder .registerProblem (
7980 classAttribute ,
@@ -140,7 +141,10 @@ public void visitXmlTag(final XmlTag xmlTag) {
140141 }
141142
142143 @ 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+ ) {
144148 for (final PhpClass phpClass : classes ) {
145149 for (final Method method : phpClass .getMethods ()) {
146150 if (method .getName ().equals (methodName )) {
You can’t perform that action at this time.
0 commit comments