Conditions | 2 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
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 | } |
||
25 | } |