Inspectopedia
 
2024.3

Redundant @throws tag(s)

Info
New
Last modified: 03 December 2024

Reports @throws tags for exceptions that are not thrown by the function or method.

The exception classes added to the Unchecked Exceptions list under Settings | PHP | Analysis are excluded from the inspection scope.