Total Complexity | 3 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class CustomerResource extends ApiResource |
||
8 | { |
||
9 | public function update(array $data): self |
||
10 | { |
||
11 | return $this->shopify->updateCustomer($this->id, $data); |
||
|
|||
12 | } |
||
13 | |||
14 | public function delete(): void |
||
15 | { |
||
16 | $this->shopify->deleteCustomer($this->id); |
||
17 | } |
||
18 | |||
19 | public function getAddresses(array $params = []): Collection |
||
22 | } |
||
23 | } |
||
24 |