Should the return type not be array? Also, consider making the array more specific, something like array<String>, or String[].
This check compares the return type specified in the @return annotation of a function
or method doc comment with the types returned by the function and raises an issue if they
mismatch.
If the return type contains the type array, this check recommends the use of
a more specific type like String[] or array<String>.
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.If the return type contains the type array, this check recommends the use of a more specific type like
String[]
orarray<String>
.