@@ -501,7 +501,7 @@ discard block |
||
| 501 | 501 | |
| 502 | 502 | public function hasManufacturer(ManufacturerInterface $manufacturer): bool |
| 503 | 503 | { |
| 504 | - return $this->manufacturers->exists(function ($key, ManufacturerInterface $element) use ($manufacturer) { |
|
| 504 | + return $this->manufacturers->exists(function($key, ManufacturerInterface $element) use ($manufacturer) { |
|
| 505 | 505 | return $element->getExternalId() === $manufacturer->getExternalId(); |
| 506 | 506 | }); |
| 507 | 507 | } |
@@ -526,7 +526,7 @@ discard block |
||
| 526 | 526 | $variantGroup = $variantGroup->getExternalId(); |
| 527 | 527 | } |
| 528 | 528 | |
| 529 | - return $this->variantGroups->exists(function ($key, VariantGroupInterface $element) use ($variantGroup) { |
|
| 529 | + return $this->variantGroups->exists(function($key, VariantGroupInterface $element) use ($variantGroup) { |
|
| 530 | 530 | return $element->getExternalId() === $variantGroup; |
| 531 | 531 | }); |
| 532 | 532 | } |
@@ -655,7 +655,7 @@ discard block |
||
| 655 | 655 | $product = $product->getExternalId(); |
| 656 | 656 | } |
| 657 | 657 | |
| 658 | - return $this->children->exists(function ($key, ProductInterface $element) use ($product) { |
|
| 658 | + return $this->children->exists(function($key, ProductInterface $element) use ($product) { |
|
| 659 | 659 | return $element->getExternalId() === $product; |
| 660 | 660 | }); |
| 661 | 661 | } |
@@ -428,7 +428,7 @@ |
||
| 428 | 428 | $orderLine = $orderLine->getExternalId(); |
| 429 | 429 | } |
| 430 | 430 | |
| 431 | - return $this->orderLines->exists(function ($key, OrderLineInterface $element) use ($orderLine) { |
|
| 431 | + return $this->orderLines->exists(function($key, OrderLineInterface $element) use ($orderLine) { |
|
| 432 | 432 | return $element->getExternalId() === $orderLine; |
| 433 | 433 | }); |
| 434 | 434 | } |
@@ -206,7 +206,7 @@ |
||
| 206 | 206 | $category = $category->getExternalId(); |
| 207 | 207 | } |
| 208 | 208 | |
| 209 | - return $this->parentCategories->exists(function ($key, CategoryInterface $element) use ($category) { |
|
| 209 | + return $this->parentCategories->exists(function($key, CategoryInterface $element) use ($category) { |
|
| 210 | 210 | return $element->getExternalId() === $category; |
| 211 | 211 | }); |
| 212 | 212 | } |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | $tagValue = $tagValue->getExternalId(); |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | - return $this->tagValues->exists(function ($key, TagValueInterface $element) use ($tagValue) { |
|
| 82 | + return $this->tagValues->exists(function($key, TagValueInterface $element) use ($tagValue) { |
|
| 83 | 83 | return $element->getExternalId() === $tagValue; |
| 84 | 84 | }); |
| 85 | 85 | } |