mirror of
https://github.com/1C-Company/v8-code-style.git
synced 2025-03-04 16:15:57 +02:00
Merge pull request #990 from 1C-Company/bugfix/948-export-return-ref-link
This commit is contained in:
commit
eba3953b11
@ -114,7 +114,8 @@ public class ExportFunctionReturnSectionCheck
|
||||
}
|
||||
|
||||
if (docComment == null || docComment.getReturnSection() == null
|
||||
|| docComment.getReturnSection().getReturnTypes().isEmpty())
|
||||
|| isTypeEmptyAndNoLink(docComment.getReturnSection().getReturnTypes(),
|
||||
docComment.getReturnSection().getDescription()))
|
||||
{
|
||||
resultAceptor.addIssue(Messages.ExportFunctionReturnSectionCheck_Export_function_return_section_required,
|
||||
root.getMethod(), NAMED_ELEMENT__NAME);
|
||||
|
Loading…
x
Reference in New Issue
Block a user