We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 813c6e1 commit 55f6e9dCopy full SHA for 55f6e9d
src/com/magento/idea/magento2plugin/actions/generation/dialog/InjectAViewModelDialog.java
@@ -144,12 +144,11 @@ protected void onOK() {
144
145
if (targetBlockTag.getContainingFile() == null || targetBlockTag.getContainingFile().getParent() == null) {
146
return;
147
- } else {
148
- final String moduleName = GetModuleNameByDirectoryUtil.execute(
149
- targetBlockTag.getContainingFile().getParent(),
150
- project
151
- );
152
}
+ final String moduleName = GetModuleNameByDirectoryUtil.execute(
+ targetBlockTag.getContainingFile().getParent(),
+ project
+ );
153
154
final NamespaceBuilder namespaceBuilder = new NamespaceBuilder(
155
moduleName,
0 commit comments