Skip to content

Commit d9330b8

Browse files
authored
Bugfix
1 parent 6244c67 commit d9330b8

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/Product/RelatedProduct.php

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,6 @@ class RelatedProduct
2929
*/
3030
public function addProductRelationCode(CodeList51 $ProductRelationCode)
3131
{
32-
/*if (is_array($ProductRelationCode)) {
33-
foreach ($ProductRelationCode as $code) {
34-
$this->ProductRelationCode[] = Code::find(51, $code);
35-
}
36-
} else {
37-
$this->ProductRelationCode[] = Code::find(51, $ProductRelationCode);
38-
}*/
3932
$this->ProductRelationCode[] = $ProductRelationCode;
4033
}
4134

@@ -70,12 +63,12 @@ public function getProductIdentifier()
7063
return $this->ProductIdentifier;
7164
}
7265

73-
public function removeProductRelationCode(string $ProductRelationCode)
66+
public function removeProductRelationCode(CodeList51 $ProductRelationCode)
7467
{
7568
}
7669

7770
public function removeProductIdentifier(ProductIdentifier $ProductIdentifier)
7871
{
7972
}
8073

81-
}
74+
}

0 commit comments

Comments
 (0)