Passed
Push — master ( 59f96f...9edaa9 )
by Mikołaj
05:36
created
src/PropertyNameResolver/ConcatedNameResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 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\PropertyNameResolver;
14 14
 
Please login to merge, or discard this patch.
src/PropertyNameResolver/ConcatedNameResolverInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 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\PropertyNameResolver;
14 14
 
Please login to merge, or discard this patch.
src/PropertyBuilder/ChannelPricingBuilder.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\PropertyBuilder;
14 14
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
         /** @var ProductVariantInterface $productVariant */
49 49
         foreach ($product->getVariants() as $productVariant) {
50
-            foreach($productVariant->getChannelPricings() as $channelPricing) {
50
+            foreach ($productVariant->getChannelPricings() as $channelPricing) {
51 51
                 $propertyName = $this->channelPricingNameResolver->resolvePropertyName($channelPricing->getChannelCode());
52 52
 
53 53
                 $document->set($propertyName, $channelPricing->getPrice());
Please login to merge, or discard this patch.
src/Form/Type/ProductAttributesFilterType.php 1 patch
Spacing   +3 added lines, -3 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;
14 14
 
@@ -61,8 +61,8 @@  discard block
 block discarded – undo
61 61
         /** @var ProductAttributeInterface $productAttribute */
62 62
         foreach ($this->productAttributesContext->getAttributes() as $productAttribute) {
63 63
             $name = $this->attributeNameResolver->resolvePropertyName($productAttribute->getCode());
64
-            $attributeValues = array_map(function (?ProductAttributeValueInterface $productAttributeValue): ?string {
65
-                return $productAttributeValue ? $productAttributeValue->getValue(): null;
64
+            $attributeValues = array_map(function(?ProductAttributeValueInterface $productAttributeValue): ?string {
65
+                return $productAttributeValue ? $productAttributeValue->getValue() : null;
66 66
             }, $this->productAttributeValueRepository->findBy(['attribute' => $productAttribute]));
67 67
 
68 68
             $builder->add($name, ChoiceType::class, [
Please login to merge, or discard this patch.
src/Form/Type/ProductOptionsFilterType.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;
14 14
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         /** @var ProductOptionInterface $productOption */
53 53
         foreach ($this->productOptionsContext->getOptions() as $productOption) {
54 54
             $name = $this->optionNameResolver->resolvePropertyName($productOption->getCode());
55
-            $optionValues = array_map(function (ProductOptionValueInterface $productOptionValue): ?string {
55
+            $optionValues = array_map(function(ProductOptionValueInterface $productOptionValue): ?string {
56 56
                 return $productOptionValue->getValue();
57 57
             }, $productOption->getValues()->toArray());
58 58
 
Please login to merge, or discard this patch.