Test Failed
Push — main ( 62d3b7...4937b3 )
by Dylan
02:33
created
src/services/Products.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.