1 | <?php |
||
2 | |||
3 | namespace Rezahmady\Smsir\Exceptions; |
||
4 | |||
5 | class CouldNotSendNotification extends \Exception |
||
6 | { |
||
7 | public static function serviceRespondedWithAnError($response) |
||
0 ignored issues
–
show
|
|||
8 | { |
||
9 | return new static("Descriptive error message."); |
||
10 | } |
||
11 | } |
||
12 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.