Skip to content

Commit b0f59b3

Browse files
committed
Fixing inspection observer message
1 parent 8fa11ef commit b0f59b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ public void visitFile(PsiFile file) {
102102
if (!eventProblems.containsKey(problemKey)){
103103
problemsHolder.registerProblem(
104104
observerNameAttribute.getValueElement(),
105-
String.format(
106-
inspectionBundle.message("inspection.observer.duplicateInOtherPlaces"),
105+
inspectionBundle.message(
106+
"inspection.observer.duplicateInOtherPlaces",
107107
observerName,
108108
eventNameAttributeValue,
109109
moduleName,

0 commit comments

Comments
 (0)