| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | 10 | public function __construct( |
|
| 41 | $method, |
||
| 42 | AdapterInterface $adapter, |
||
| 43 | array $messages, |
||
| 44 | array $debug = [], |
||
| 45 | Exception $previous = null |
||
| 46 | ) { |
||
| 47 | 10 | $this->method = $method; |
|
| 48 | |||
| 49 | 10 | parent::__construct( |
|
| 50 | 10 | sprintf('Method `%s` is not supported by this adapter', $method), |
|
| 51 | 10 | $adapter, |
|
| 52 | 10 | $messages, |
|
| 53 | 10 | $debug, |
|
| 54 | $previous |
||
| 55 | 10 | ); |
|
| 66 |