| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 64 | public function updateProduct(array $data, $product_id) |
||
| 65 | { |
||
| 66 | $this->apiEndPoint = "v1/catalogs/products/{$product_id}"; |
||
|
1 ignored issue
–
show
|
|||
| 67 | $this->apiUrl = collect([$this->apiUrl, $this->apiEndPoint])->implode('/'); |
||
|
1 ignored issue
–
show
|
|||
| 68 | |||
| 69 | $this->options['json'] = $data; |
||
|
1 ignored issue
–
show
|
|||
| 70 | |||
| 71 | $this->verb = 'patch'; |
||
|
1 ignored issue
–
show
|
|||
| 72 | |||
| 73 | return $this->doPayPalRequest(); |
||
| 74 | } |
||
| 97 |