@@ -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 | /** |