| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function __construct( |
||
| 25 | string $accept, |
||
| 26 | array $acceptables, |
||
| 27 | 2 | string $detail = null, |
|
| 28 | string $instance = null |
||
| 29 | ) { |
||
| 30 | parent::__construct( |
||
| 31 | 'https://tools.ietf.org/html/rfc2616#section-10.4.7', |
||
| 32 | 406, |
||
| 33 | 2 | 'Not Acceptable', |
|
| 34 | 2 | $detail, |
|
| 35 | 2 | $instance |
|
| 36 | 2 | ); |
|
| 37 | |||
| 38 | $this->accept = $accept; |
||
| 39 | $this->acceptables = $acceptables; |
||
| 40 | } |
||
| 55 |