@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | public function hasProduct(ProductInterface $product): bool |
37 | 37 | { |
38 | 38 | /** @var ArrayCollection $result */ |
39 | - $result = $this->comparerProducts->filter(function (ComparerProductInterface $comparerProduct) use ($product) { |
|
39 | + $result = $this->comparerProducts->filter(function(ComparerProductInterface $comparerProduct) use ($product) { |
|
40 | 40 | return $product === $comparerProduct->getProduct(); |
41 | 41 | }); |
42 | 42 | |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | public function getProducts(): Collection |
47 | 47 | { |
48 | 48 | /** @var ArrayCollection $products */ |
49 | - $products = $this->comparerProducts->map(function (ComparerProductInterface $comparerProduct) { |
|
49 | + $products = $this->comparerProducts->map(function(ComparerProductInterface $comparerProduct) { |
|
50 | 50 | return $comparerProduct->getProduct(); |
51 | 51 | }); |
52 | 52 |
@@ -36,6 +36,6 @@ |
||
36 | 36 | $this->templatingEngine->render('@LocasticSyliusComparerPlugin/_comparerItemCountHeader.html.twig', [ |
37 | 37 | 'comparer' => $comparer, |
38 | 38 | ] |
39 | - )); |
|
39 | + )); |
|
40 | 40 | } |
41 | 41 | } |