File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff 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+ }
You can’t perform that action at this time.
0 commit comments