| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 47 | 2 | public function __invoke(...$arguments): object |
|
| 48 | { |
||
| 49 | 2 | return ImmutableMap::of( |
|
| 50 | 2 | $this->key, |
|
| 51 | 2 | $this->value, |
|
| 52 | 2 | array_map(static function(Pair $pair) { |
|
| 53 | 2 | return $pair->key(); |
|
| 54 | 2 | }, $arguments), |
|
| 55 | 2 | array_map(static function(Pair $pair) { |
|
| 56 | 2 | return $pair->value(); |
|
| 57 | 2 | }, $arguments) |
|
| 58 | ); |
||
| 61 |