| 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 $authorization, |
||
| 26 | 2 | array $authorizationTypes, |
|
| 27 | string $detail = null, |
||
| 28 | string $instance = null |
||
| 29 | ) { |
||
| 30 | parent::__construct( |
||
| 31 | 'https://tools.ietf.org/html/rfc2616#section-10.4.2', |
||
| 32 | 2 | 401, |
|
| 33 | 2 | 'Unauthorized', |
|
| 34 | 2 | $detail, |
|
| 35 | 2 | $instance |
|
| 36 | ); |
||
| 37 | |||
| 38 | $this->authorization = $authorization; |
||
| 39 | $this->authorizationTypes = $authorizationTypes; |
||
| 40 | 2 | } |
|
| 60 |