@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | public function fetch(int $id): ?Product |
| 37 | 37 | { |
| 38 | 38 | /** @var Product|null $fetch */ |
| 39 | - $fetch = $this->_get('api/products/product/' . $id); |
|
| 39 | + $fetch = $this->_get('api/products/product/'.$id); |
|
| 40 | 40 | return $fetch; |
| 41 | 41 | } |
| 42 | 42 | |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | public function update(int $id, array $data): ?Product |
| 64 | 64 | { |
| 65 | 65 | /** @var Product|null $post */ |
| 66 | - $post = $this->_post('api/products/product' . $id, $data); |
|
| 66 | + $post = $this->_post('api/products/product'.$id, $data); |
|
| 67 | 67 | return $post; |
| 68 | 68 | } |
| 69 | 69 | |