| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 8 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 7 | 
| CRAP Score | 1 | 
| Changes | 0 | ||
| 1 | <?php | ||
| 16 | 3 | public function __construct(Client $client, string ...$exchanges) | |
| 17 |     { | ||
| 18 | 3 | $this->producers = Sequence::of(...$exchanges)->reduce( | |
| 19 | 3 |             new Map('string', Producer::class), | |
| 20 | 3 |             static function(Map $producers, string $exchange) use ($client): Map { | |
| 21 | 2 | return $producers->put( | |
| 22 | 2 | $exchange, | |
| 23 | 2 | new Producer\Producer($client, $exchange) | |
| 24 | ); | ||
| 49 |