Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types = 1); |
||
27 | public function __construct(VndError $vndError, $status = self::DEFAULT_STATUS, array $headers = []) |
||
28 | { |
||
29 | $headers = array_merge(['Content-Type' => 'application/vnd.error+json'], $headers); |
||
30 | parent::__construct($vndError->asJson(false, false), $status, $headers); |
||
31 | } |
||
32 | } |
||
33 |