Passed
Pull Request — master (#187)
by Przemysław eRIZ
05:39
created
src/PropertyBuilder/ProductNameBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function consumeEvent(PostTransformEvent $event): void
29 29
     {
30 30
         $this->buildProperty($event, ProductInterface::class,
31
-            function (ProductInterface $product, Document $document): void {
31
+            function(ProductInterface $product, Document $document): void {
32 32
                 /** @var ProductTranslationInterface $productTranslation */
33 33
                 foreach ($product->getTranslations() as $productTranslation) {
34 34
                     $propertyName = $this->productNameNameResolver->resolvePropertyName($productTranslation->getLocale());
Please login to merge, or discard this patch.
src/PropertyBuilder/ProductShortDescriptionBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function consumeEvent(PostTransformEvent $event): void
29 29
     {
30 30
         $this->buildProperty($event, ProductInterface::class,
31
-            function (ProductInterface $product, Document $document): void {
31
+            function(ProductInterface $product, Document $document): void {
32 32
                 /** @var ProductTranslationInterface $productTranslation */
33 33
                 foreach ($product->getTranslations() as $productTranslation) {
34 34
                     $propertyName = $this->productShortDescriptionNameResolver->resolvePropertyName(
Please login to merge, or discard this patch.