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 761f61f commit 83efce1Copy full SHA for 83efce1
src/com/magento/idea/magento2plugin/actions/generation/NewWebApiDeclarationAction.java
@@ -47,12 +47,8 @@ public void update(final @NotNull AnActionEvent event) {
47
return;
48
}
49
50
- final PhpDocComment classDocComment = method.getContainingClass().getDocComment();
51
-
52
if (!method.getAccess().isPublic()
53
- || method.getName().equals(MagentoPhpClass.CONSTRUCT_METHOD_NAME)
54
- || classDocComment == null
55
- || !classDocComment.getText().contains("@api")) {
+ || method.getName().equals(MagentoPhpClass.CONSTRUCT_METHOD_NAME)) {
56
57
58
0 commit comments