@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | public function fetch(int $id): ?TaxCode |
| 23 | 23 | { |
| 24 | 24 | /** @var TaxCode|null $fetch */ |
| 25 | - $fetch = $this->_get('api/tax_code/' . $id); |
|
| 25 | + $fetch = $this->_get('api/tax_code/'.$id); |
|
| 26 | 26 | return $fetch; |
| 27 | 27 | } |
| 28 | 28 | |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | public function update(int $id, array $data): ?TaxCode |
| 50 | 50 | { |
| 51 | 51 | /** @var TaxCode|null $post */ |
| 52 | - $post = $this->_post('api/tax_code/' . $id, $data); |
|
| 52 | + $post = $this->_post('api/tax_code/'.$id, $data); |
|
| 53 | 53 | return $post; |
| 54 | 54 | } |
| 55 | 55 | |
@@ -130,7 +130,7 @@ |
||
| 130 | 130 | foreach ($sites as $site) { |
| 131 | 131 | $options[] = [ |
| 132 | 132 | 'Label' => $site['domain'], |
| 133 | - 'URL' => $this->Link('select') . '?site_key=' . $site['site_key'] |
|
| 133 | + 'URL' => $this->Link('select').'?site_key='.$site['site_key'] |
|
| 134 | 134 | ]; |
| 135 | 135 | } |
| 136 | 136 | |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | public function fetch(int $id): ?Location |
| 23 | 23 | { |
| 24 | 24 | /** @var Location|null $fetch */ |
| 25 | - $fetch = $this->_get('api/locations/location/' . $id); |
|
| 25 | + $fetch = $this->_get('api/locations/location/'.$id); |
|
| 26 | 26 | return $fetch; |
| 27 | 27 | } |
| 28 | 28 | |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | public function update(int $id, array $data): ?Location |
| 50 | 50 | { |
| 51 | 51 | /** @var Location|null $post */ |
| 52 | - $post = $this->_post('api/locations/location/' . $id, $data); |
|
| 52 | + $post = $this->_post('api/locations/location/'.$id, $data); |
|
| 53 | 53 | return $post; |
| 54 | 54 | } |
| 55 | 55 | |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | public function fetch(int $id): ?DeliveryZone |
| 23 | 23 | { |
| 24 | 24 | /** @var DeliveryZone|null $fetch */ |
| 25 | - $fetch = $this->_get('api/delivery-zones/zone/' . $id); |
|
| 25 | + $fetch = $this->_get('api/delivery-zones/zone/'.$id); |
|
| 26 | 26 | return $fetch; |
| 27 | 27 | } |
| 28 | 28 | |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | public function update(int $id, array $data): ?DeliveryZone |
| 50 | 50 | { |
| 51 | 51 | /** @var DeliveryZone|null $post */ |
| 52 | - $post = $this->_post('api/delivery-zones/zone/' . $id, $data); |
|
| 52 | + $post = $this->_post('api/delivery-zones/zone/'.$id, $data); |
|
| 53 | 53 | return $post; |
| 54 | 54 | } |
| 55 | 55 | |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | public function fetch(int $id): ?Product |
| 39 | 39 | { |
| 40 | 40 | /** @var Product|null $fetch */ |
| 41 | - $fetch = $this->_get('api/products/product/' . $id); |
|
| 41 | + $fetch = $this->_get('api/products/product/'.$id); |
|
| 42 | 42 | return $fetch; |
| 43 | 43 | } |
| 44 | 44 | |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | public function update(int $id, array $data): ?Product |
| 66 | 66 | { |
| 67 | 67 | /** @var Product|null $post */ |
| 68 | - $post = $this->_post('api/products/product/' . $id, $data); |
|
| 68 | + $post = $this->_post('api/products/product/'.$id, $data); |
|
| 69 | 69 | return $post; |
| 70 | 70 | } |
| 71 | 71 | |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | */ |
| 78 | 78 | public function delete(int $id): bool |
| 79 | 79 | { |
| 80 | - return $this->_delete('api/products/product/' . $id); |
|
| 80 | + return $this->_delete('api/products/product/'.$id); |
|
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | /** |