| Total Complexity | 3 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class History extends \SplObjectStorage |
||
| 9 | { |
||
| 10 | public function mergeInfo(RequestInterface $request, array $info) |
||
| 11 | { |
||
| 12 | $info = array_merge([ |
||
| 13 | 'response' => null, |
||
| 14 | 'error' => null, |
||
| 15 | 'info' => null, |
||
| 16 | ], array_filter($this->contains($request) ? $this[$request] : []), array_filter($info)); |
||
| 17 | |||
| 18 | $this->attach($request, $info); |
||
| 19 | } |
||
| 20 | |||
| 21 | public function addStats(TransferStats $stats) |
||
| 24 | } |
||
| 25 | } |