@@ -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 | |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | |
46 | 46 | public function getProducts(): Collection |
47 | 47 | { |
48 | - $products = $this->comparerProducts->map(function (ComparerProductInterface $comparerProduct) { |
|
48 | + $products = $this->comparerProducts->map(function(ComparerProductInterface $comparerProduct) { |
|
49 | 49 | return $comparerProduct->getProduct(); |
50 | 50 | }); |
51 | 51 |