Completed
Push — master ( d1e201...e04814 )
by Joachim
14:55
created
src/Entity/Product.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -483,7 +483,7 @@  discard block
 block discarded – undo
483 483
 
484 484
     public function hasCategory(CategoryInterface $category): bool
485 485
     {
486
-        return $this->categories->exists(function ($key, CategoryInterface $element) use ($category) {
486
+        return $this->categories->exists(function($key, CategoryInterface $element) use ($category) {
487 487
             return $element->getExternalId() === $category->getExternalId();
488 488
         });
489 489
     }
@@ -512,7 +512,7 @@  discard block
 block discarded – undo
512 512
 
513 513
     public function hasManufacturer(ManufacturerInterface $manufacturer): bool
514 514
     {
515
-        return $this->manufacturers->exists(function ($key, ManufacturerInterface $element) use ($manufacturer) {
515
+        return $this->manufacturers->exists(function($key, ManufacturerInterface $element) use ($manufacturer) {
516 516
             return $element->getExternalId() === $manufacturer->getExternalId();
517 517
         });
518 518
     }
@@ -550,7 +550,7 @@  discard block
 block discarded – undo
550 550
             $variantGroup = $variantGroup->getExternalId();
551 551
         }
552 552
 
553
-        return $this->variantGroups->exists(function ($key, VariantGroupInterface $element) use ($variantGroup) {
553
+        return $this->variantGroups->exists(function($key, VariantGroupInterface $element) use ($variantGroup) {
554 554
             return $element->getExternalId() === $variantGroup;
555 555
         });
556 556
     }
@@ -691,7 +691,7 @@  discard block
 block discarded – undo
691 691
             $product = $product->getExternalId();
692 692
         }
693 693
 
694
-        return $this->children->exists(function ($key, ProductInterface $element) use ($product) {
694
+        return $this->children->exists(function($key, ProductInterface $element) use ($product) {
695 695
             return $element->getExternalId() === $product;
696 696
         });
697 697
     }
Please login to merge, or discard this patch.