File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/com/magento/idea/magento2plugin/actions/generation/generator Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
11
11
- Throwable: Stub index points to a file without PSI [ #1232 ] ( https://github.com/magento/magento2-phpstorm-plugin/pull/1232 )
12
12
- Create an entity - delete button is displayed in a new entity form [ #1268 ] ( https://github.com/magento/magento2-phpstorm-plugin/pull/1268 )
13
13
- Covered possible NullPointerException in InjectAViewModelDialog.java [ #1213 ] ( https://github.com/magento/magento2-phpstorm-plugin/pull/1213 )
14
+ - AWT events are not allowed inside write action [ #1271 ] ( https://github.com/magento/magento2-phpstorm-plugin/pull/1271 )
14
15
15
16
## 5.0.0
16
17
Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ public ModuleGraphQlResolverClassGenerator(
64
64
65
65
@ Override
66
66
public PsiFile generate (final String actionName ) {
67
- final PsiFile [] graphQlFile = {null };
68
67
69
68
final PhpClass [] graphQlResolverClass = {GetPhpClassByFQN .getInstance (project )
70
69
.execute (graphQlResolverFileData .getGraphQlResolverClassFqn ())};
@@ -90,6 +89,7 @@ public PsiFile generate(final String actionName) {
90
89
return null ;
91
90
}
92
91
92
+ final PsiFile [] graphQlFile = {null };
93
93
WriteCommandAction .runWriteCommandAction (project , () -> {
94
94
final Properties attributes = new Properties ();
95
95
final String methodTemplate = PhpCodeUtil .getCodeTemplate (
You can’t perform that action at this time.
0 commit comments