The codesniffer sniff FunctionCommentSniff emits warnings (MissingDocumentationPublic, MissingDocumentationProtected, MissingDocumentationPrivate) when a function has parameters or is a "getter". But what about a function without params that returns a value but is not named get*?
Should this function require documentation of the return value?
If T258925: Do not warn about missing function doc comment when parameter and return types are fully specified by type hints get fixed a possible return type hint should not require documentation.