Total Complexity | 8 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class RetryTransportWrapper implements TransportInterface |
||
11 | { |
||
12 | protected Closure $exceptionMatcher; |
||
13 | |||
14 | /** |
||
15 | * KeepAliveRetryTransportWrapper constructor. |
||
16 | * |
||
17 | * @param null|callable(Throwable):bool $exceptionMatcher |
||
18 | */ |
||
19 | public function __construct( |
||
25 | } |
||
26 | |||
27 | public function getTransport(): TransportInterface |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @inheritDoc |
||
34 | */ |
||
35 | public function send(Message $message): int |
||
55 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.