Completed
Push — master ( 550daa...d6e9da )
by Mikołaj
04:57
created
src/QueryBuilder/HasPriceBetweenQueryBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Form/Type/ChoiceMapper/ProductAttributesMapper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.