Missing return statement

Last modified: 03 December 2024

Reports missing return statements at the end of methods with a non-void return type. The end of method should be reachable by the method's execution flow.

Example: