@@ -61,7 +61,7 @@ |
||
| 61 | 61 | $attributeValues = $this->productAttributeValueRepository->getUniqueAttributeValues($productAttribute); |
| 62 | 62 | |
| 63 | 63 | $choices = []; |
| 64 | - array_walk($attributeValues, function (ProductAttributeValueInterface $productAttributeValue) use (&$choices): void { |
|
| 64 | + array_walk($attributeValues, function(ProductAttributeValueInterface $productAttributeValue) use (&$choices): void { |
|
| 65 | 65 | $product = $productAttributeValue->getProduct(); |
| 66 | 66 | |
| 67 | 67 | if (!$product->isEnabled()) { |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace BitBag\SyliusElasticsearchPlugin\EntityRepository; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace BitBag\SyliusElasticsearchPlugin\EntityRepository; |
| 6 | 6 | |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | |
| 35 | 35 | return $queryBuilder |
| 36 | 36 | ->where('o.attribute = :attribute') |
| 37 | - ->groupBy('o.'.$productAttribute->getStorageType()) |
|
| 37 | + ->groupBy('o.' . $productAttribute->getStorageType()) |
|
| 38 | 38 | ->setParameter(':attribute', $productAttribute) |
| 39 | 39 | ->getQuery() |
| 40 | 40 | ->getResult(); |