Passed
Push — master ( 12facc...2f63fb )
by Mikołaj
04:10
created
src/Form/Type/AbstractFilterType.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\Form\Type;
14 14
 
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
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         /** @var ProductOptionInterface $productOption */
52 52
         foreach ($this->productOptionsContext->getOptions() as $productOption) {
53 53
             $name = $this->optionNameResolver->resolvePropertyName($productOption->getCode());
54
-            $optionValues = array_map(function (ProductOptionValueInterface $productOptionValue): ?string {
54
+            $optionValues = array_map(function(ProductOptionValueInterface $productOptionValue): ?string {
55 55
                 return $productOptionValue->getValue();
56 56
             }, $productOption->getValues()->toArray());
57 57
 
Please login to merge, or discard this patch.
src/Form/Type/ProductAttributesFilterType.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
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             $name = $this->attributeNameResolver->resolvePropertyName($productAttribute->getCode());
72 72
             $attributeValues = $this->productAttributeValueRepository->findBy(['attribute' => $productAttribute]);
73 73
             $choices = [];
74
-            array_walk($attributeValues, function (?ProductAttributeValueInterface $productAttributeValue) use (&$choices) {
74
+            array_walk($attributeValues, function(?ProductAttributeValueInterface $productAttributeValue) use (&$choices) {
75 75
                 $choices[$productAttributeValue->getValue()] = $this->attributeValueResolver->resolve($productAttributeValue);
76 76
             });
77 77
 
Please login to merge, or discard this patch.
src/Finder/ProductOptionsFinderInterface.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\Finder;
14 14
 
Please login to merge, or discard this patch.
src/Finder/ProductOptionsFinder.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\Finder;
14 14
 
Please login to merge, or discard this patch.
src/Finder/ShopProductsFinder.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\Finder;
14 14
 
Please login to merge, or discard this patch.
src/Finder/ProductAttributesFinderInterface.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\Finder;
14 14
 
Please login to merge, or discard this patch.
src/Finder/ShopProductsFinderInterface.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\Finder;
14 14
 
Please login to merge, or discard this patch.
src/PropertyNameResolver/PriceNameResolverInterface.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.