Passed
Pull Request — master (#184)
by
unknown
04:04
created
src/PropertyBuilder/ChannelPricingBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         $this->buildProperty(
32 32
             $event,
33 33
             ProductInterface::class,
34
-            function (ProductInterface $product, Document $document): void {
34
+            function(ProductInterface $product, Document $document): void {
35 35
                 if (0 === $product->getVariants()->count()) {
36 36
                     return;
37 37
                 }
Please login to merge, or discard this patch.
src/PropertyBuilder/ProductCreatedAtPropertyBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         $this->buildProperty(
30 30
             $event,
31 31
             ProductInterface::class,
32
-            function (ProductInterface $product, Document $document): void {
32
+            function(ProductInterface $product, Document $document): void {
33 33
                 $createdAt = (int) $product->getCreatedAt()->format('U');
34 34
 
35 35
                 $document->set($this->createdAtProperty, $createdAt);
Please login to merge, or discard this patch.
src/PropertyBuilder/OptionBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         $this->buildProperty(
36 36
             $event,
37 37
             ProductInterface::class,
38
-            function (ProductInterface $product, Document $document): void {
38
+            function(ProductInterface $product, Document $document): void {
39 39
                 $this->resolveProductOptions($product, $document);
40 40
             }
41 41
         );
Please login to merge, or discard this patch.