@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | /** @var ProductImageInterface $image */ |
151 | 151 | foreach ($product->getImages() as $image) { |
152 | 152 | foreach ($image->getProductVariants() as $productVariant) { |
153 | - if ($variant === $productVariant){ |
|
153 | + if ($variant === $productVariant) { |
|
154 | 154 | $itemView->variant->images[] = $imageViewBuilder->build($image); |
155 | 155 | } |
156 | 156 | } |
@@ -382,7 +382,7 @@ discard block |
||
382 | 382 | return $product->getVariants()[0]; |
383 | 383 | } |
384 | 384 | |
385 | - if ($product->hasOptions()){ |
|
385 | + if ($product->hasOptions()) { |
|
386 | 386 | return $this->getVariant($request->request->get('options'), $product); |
387 | 387 | } |
388 | 388 |