Conditions | 1 |
Paths | 1 |
Total Lines | 20 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
60 | 2 | public function resolve( |
|
61 | StreamInterface $built, |
||
62 | Definitions $definitions |
||
63 | ): StreamInterface { |
||
64 | $key = $this |
||
65 | 2 | ->key |
|
66 | 2 | ->resolve( |
|
67 | 2 | $built->clear(), |
|
68 | 2 | $definitions |
|
69 | ) |
||
70 | 2 | ->current(); |
|
71 | $value = $this |
||
72 | 2 | ->value |
|
73 | 2 | ->resolve( |
|
74 | 2 | $built->clear(), |
|
75 | 2 | $definitions |
|
76 | ) |
||
77 | 2 | ->current(); |
|
78 | |||
79 | 2 | return $built->add(new ImmutablePair($key, $value)); |
|
80 | } |
||
82 |