| Total Complexity | 5 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class Chunked extends ADecoder |
||
| 15 | { |
||
| 16 | 5 | public function getHeaderKey(): string |
|
| 19 | } |
||
| 20 | |||
| 21 | 2 | public function canDecode(string $header): bool |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Repair chunked transport |
||
| 28 | * do not ask how it works... |
||
| 29 | * @param string $content |
||
| 30 | * @return string |
||
| 31 | * @link https://en.wikipedia.org/wiki/Chunked_transfer_encoding |
||
| 32 | * @link https://tools.ietf.org/html/rfc2616#section-3.6 |
||
| 33 | */ |
||
| 34 | 2 | public function processDecode(string $content): string |
|
| 56 |