Skip to content

Commit ada1a23

Browse files
author
Vitaliy Boyko
committed
Fixed return statement
1 parent a040eab commit ada1a23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/magento/idea/magento2plugin/inspections/xml/ObserverDeclarationInspection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public void visitFile(PsiFile file) {
7272

7373
List<XmlTag> targetObservers = fetchObserverTagsFromEventTag(eventXmlTag);
7474
if (targetObservers.isEmpty()) {
75-
return;
75+
continue;
7676
}
7777

7878
for (XmlTag observerXmlTag: targetObservers) {

0 commit comments

Comments
 (0)