Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
86 | public function updateInvoiceTemplate($template_id, array $data) |
||
87 | { |
||
88 | $this->apiEndPoint = "v2/invoicing/templates/{$template_id}"; |
||
1 ignored issue
–
show
|
|||
89 | $this->apiUrl = collect([$this->apiUrl, $this->apiEndPoint])->implode('/'); |
||
1 ignored issue
–
show
|
|||
90 | |||
91 | $this->options['json'] = $data; |
||
1 ignored issue
–
show
|
|||
92 | |||
93 | $this->verb = 'put'; |
||
1 ignored issue
–
show
|
|||
94 | |||
95 | return $this->doPayPalRequest(); |
||
96 | } |
||
119 |