Passed
Pull Request — master (#52)
by Arvids
05:22
created
src/Form/Type/ChoiceMapper/ProductAttributesMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
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()) {
Please login to merge, or discard this patch.
src/EntityRepository/ProductAttributeValueRepositoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/EntityRepository/ProductAttributeRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.