Code Duplication    Length = 5-5 lines in 2 locations

sdk/ECPay.Logistics.Integration.php 2 locations

@@ 1197-1201 (lines=5) @@
1194
            $this->ValidateID('CVSValidationNo', $this->PostParams['CVSValidationNo'], 10);
1195
            $this->ValidateStoreType();
1196
1197
            if ($this->PostParams['StoreType'] == StoreType::RECIVE_STORE) {
1198
                $this->ValidateMixTypeID('ReceiverStoreID', $this->PostParams['ReceiverStoreID'], 6);
1199
            } else {
1200
                unset($this->PostParams['ReceiverStoreID']);
1201
            }
1202
1203
            if ($this->PostParams['StoreType'] == StoreType::RETURN_STORE) {
1204
                $this->ValidateMixTypeID('ReturnStoreID', $this->PostParams['ReturnStoreID'], 6);
@@ 1203-1207 (lines=5) @@
1200
                unset($this->PostParams['ReceiverStoreID']);
1201
            }
1202
1203
            if ($this->PostParams['StoreType'] == StoreType::RETURN_STORE) {
1204
                $this->ValidateMixTypeID('ReturnStoreID', $this->PostParams['ReturnStoreID'], 6);
1205
            } else {
1206
                unset($this->PostParams['ReturnStoreID']);
1207
            }
1208
1209
            $this->ValidateID('PlatformID', $this->PostParams['PlatformID'], 10, true);
1210