| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function provideVariantsDeposits(ProductInterface $product, ChannelInterface $channel): array |
||
| 15 | { |
||
| 16 | $variantsDeposits = []; |
||
| 17 | |||
| 18 | /** @var ProductVariantInterface $variant */ |
||
| 19 | foreach ($product->getVariants() as $variant) { |
||
| 20 | $variantsDeposits[] = $this->constructOptionsMap($variant, $channel); |
||
| 21 | } |
||
| 22 | |||
| 23 | return $variantsDeposits; |
||
| 24 | } |
||
| 43 |