@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | * an email on [email protected]. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace BitBag\SyliusElasticsearchPlugin\QueryBuilder; |
14 | 14 | |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | $dataMinPrice = $data[$this->priceNameResolver->resolveMinPriceName()]; |
60 | 60 | $dataMaxPrice = $data[$this->priceNameResolver->resolveMaxPriceName()]; |
61 | 61 | |
62 | - $minPrice = $dataMinPrice ? $this->getPriceFromString($dataMinPrice) : 0; |
|
62 | + $minPrice = $dataMinPrice ? $this->getPriceFromString($dataMinPrice) : 0; |
|
63 | 63 | $maxPrice = $dataMaxPrice ? $this->getPriceFromString($dataMaxPrice) : PHP_INT_MAX; |
64 | 64 | |
65 | 65 | $channelCode = $this->channelContext->getChannel()->getCode(); |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | * an email on [email protected]. |
9 | 9 | */ |
10 | 10 | |
11 | -declare(strict_types=1); |
|
11 | +declare(strict_types = 1); |
|
12 | 12 | |
13 | 13 | namespace BitBag\SyliusElasticsearchPlugin\Form\Type\ChoiceMapper; |
14 | 14 | |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | { |
59 | 59 | $attributeValues = $this->productAttributeValueRepository->findBy(['attribute' => $productAttribute]); |
60 | 60 | $choices = []; |
61 | - array_walk($attributeValues, function (ProductAttributeValueInterface $productAttributeValue) use (&$choices) { |
|
61 | + array_walk($attributeValues, function(ProductAttributeValueInterface $productAttributeValue) use (&$choices) { |
|
62 | 62 | $value = $productAttributeValue->getValue(); |
63 | 63 | $configuration = $productAttributeValue->getAttribute()->getConfiguration(); |
64 | 64 | if (is_array($value) |