Passed
Pull Request — master (#55)
by
unknown
10:56
created
src/PropertyBuilder/ChannelPricingBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public function consumeEvent(TransformEvent $event): void
40 40
     {
41 41
         $this->buildProperty($event, ProductInterface::class,
42
-            function (ProductInterface $product, Document $document): void {
42
+            function(ProductInterface $product, Document $document): void {
43 43
                 if (0 === $product->getVariants()->count()) {
44 44
                     return;
45 45
                 }
Please login to merge, or discard this patch.
src/QueryBuilder/HasPriceBetweenQueryBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,6 +89,6 @@
 block discarded – undo
89 89
 
90 90
     private function convertFromString(string $price): int
91 91
     {
92
-        return (int) round( (float) $price * 100, 2);
92
+        return (int) round((float) $price * 100, 2);
93 93
     }
94 94
 }
Please login to merge, or discard this patch.