Skip to content

Commit e6dcf69

Browse files
author
Vitaliy Boyko
committed
Static fix
1 parent 7313a7f commit e6dcf69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/com/magento/idea/magento2plugin/actions/generation/generator/ModuleViewModelClassGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ protected void fillAttributes(Properties attributes) {
7575
String viewModelClassName = viewModelFileData.getViewModelClassName();
7676
attributes.setProperty("NAME", viewModelClassName);
7777
attributes.setProperty("NAMESPACE", viewModelFileData.getNamespace());
78-
attributes.setProperty("USE", ViewModelPhp.INTERFACE_PATH);
78+
attributes.setProperty("USE", ViewModelPhp.INTERFACE_FQN);
7979
attributes.setProperty("IMPLEMENTS", ViewModelPhp.INTERFACE_NAME);
8080
}
8181

src/com/magento/idea/magento2plugin/magento/files/ViewModelPhp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
public class ViewModelPhp implements ModuleFileInterface {
1111
public static String TEMPLATE = "Magento Module Common Php Class";
1212
public static String DEFAULT_DIR = "ViewModel";
13-
public static String INTERFACE_PATH = "Magento\\Framework\\View\\Element\\Block\\ArgumentInterface";
13+
public static String INTERFACE_FQN = "Magento\\Framework\\View\\Element\\Block\\ArgumentInterface";
1414
public static String INTERFACE_NAME = "ArgumentInterface";
1515

1616
private static ViewModelPhp INSTANCE = null;

0 commit comments

Comments
 (0)