| Conditions | 3 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 36 | #[Override] |
||
| 37 | public function getOutput(array $headers): Output |
||
| 38 | { |
||
| 39 | $newHeaders = []; |
||
| 40 | foreach ($headers as $label => $value) { |
||
| 41 | if (! in_array($label, self::HEADER_IN_304, true)) { |
||
| 42 | continue; |
||
| 43 | } |
||
| 44 | |||
| 45 | $newHeaders[$label] = $value; |
||
| 46 | } |
||
| 47 | |||
| 48 | return new Output(304, $newHeaders, ''); |
||
| 49 | } |
||
| 51 |