Inspectopedia
 
2024.3

Redundant 'else' in 'if'

Info
New
Last modified: 03 December 2024

Reports redundant else in if with return

Example:

After the quick-fix is applied: