Passed
Push — master ( 227969...63ca53 )
by Mikołaj
05:04
created
src/Controller/RequestDataHandler/ShopProductsSortDataHandler.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\Controller\RequestDataHandler;
14 14
 
Please login to merge, or discard this patch.
src/Controller/RequestDataHandler/SortDataHandlerInterface.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\Controller\RequestDataHandler;
14 14
 
Please login to merge, or discard this patch.
src/Twig/Extension/UnsetArrayElementsExtension.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\Twig\Extension;
14 14
 
Please login to merge, or discard this patch.
src/Form/Type/ProductAttributesFilterType.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   +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/ChoiceMapper/ProductOptionsMapperInterface.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\ChoiceMapper;
14 14
 
Please login to merge, or discard this patch.
src/Form/Type/ChoiceMapper/ProductOptionsMapper.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
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function mapToChoices(ProductOptionInterface $productOption): array
24 24
     {
25
-        $optionValues = array_map(function (ProductOptionValueInterface $productOptionValue): ?string {
25
+        $optionValues = array_map(function(ProductOptionValueInterface $productOptionValue): ?string {
26 26
             return $productOptionValue->getValue();
27 27
         }, $productOption->getValues()->toArray());
28 28
 
Please login to merge, or discard this patch.
src/Form/Type/ChoiceMapper/ProductAttributesMapperInterface.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\ChoiceMapper;
14 14
 
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
 
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     {
49 49
         $attributeValues = $this->productAttributeValueRepository->findBy(['attribute' => $productAttribute]);
50 50
         $choices = [];
51
-        array_walk($attributeValues, function (ProductAttributeValueInterface $productAttributeValue) use (&$choices) {
51
+        array_walk($attributeValues, function(ProductAttributeValueInterface $productAttributeValue) use (&$choices) {
52 52
             $value = $productAttributeValue->getValue();
53 53
             if (is_array($value)) {
54 54
                 foreach ($value as $singleValue) {
Please login to merge, or discard this patch.