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).
1111- Throwable: Stub index points to a file without PSI [ #1232 ] ( https://github.com/magento/magento2-phpstorm-plugin/pull/1232 )
1212- Create an entity - delete button is displayed in a new entity form [ #1268 ] ( https://github.com/magento/magento2-phpstorm-plugin/pull/1268 )
1313- 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 )
1415
1516## 5.0.0
1617
Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ public ModuleGraphQlResolverClassGenerator(
6464
6565 @ Override
6666 public PsiFile generate (final String actionName ) {
67- final PsiFile [] graphQlFile = {null };
6867
6968 final PhpClass [] graphQlResolverClass = {GetPhpClassByFQN .getInstance (project )
7069 .execute (graphQlResolverFileData .getGraphQlResolverClassFqn ())};
@@ -90,6 +89,7 @@ public PsiFile generate(final String actionName) {
9089 return null ;
9190 }
9291
92+ final PsiFile [] graphQlFile = {null };
9393 WriteCommandAction .runWriteCommandAction (project , () -> {
9494 final Properties attributes = new Properties ();
9595 final String methodTemplate = PhpCodeUtil .getCodeTemplate (
You can’t perform that action at this time.
0 commit comments