| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function __construct(int $maxContentLength, string $detail = null, string $instance = null) |
||
| 17 | { |
||
| 18 | parent::__construct( |
||
| 19 | 'https://tools.ietf.org/html/rfc2616#section-10.4.14', |
||
| 20 | 413, |
||
| 21 | 2 | 'Request Entity Too Large', |
|
| 22 | $detail, |
||
| 23 | 2 | $instance |
|
| 24 | 2 | ); |
|
| 25 | 2 | ||
| 26 | 2 | $this->maxContentLength = $maxContentLength; |
|
| 27 | } |
||
| 34 |