Inspectopedia Help

Redundant @throws tag(s)

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.

Inspection options

Option

Type

Default

PHP / Analysis

SettingLink

None

Inspection Details

Available in:

PhpStorm 2023.3, Qodana for PHP 2023.3

Plugin:

PHP, 233.SNAPSHOT

Last modified: 13 July 2023