Completed
Push — master ( a3ab13...c087a9 )
by Ashleigh
01:56
created
src/Objects/AbstractObject.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     {
114 114
         return $this->sendRequest(
115 115
             'GET',
116
-            '/analytics/reports/' . $id,
116
+            '/analytics/reports/'.$id,
117 117
             ['query' => ['includeDetails' => $includeDetails]]
118 118
         );
119 119
     }
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
             return false;
147 147
         }
148 148
 
149
-        $response = $this->sendRequest('GET', "/sobjects/" . $this->getType() . "/$id", ['query' => $fields]);
149
+        $response = $this->sendRequest('GET', "/sobjects/".$this->getType()."/$id", ['query' => $fields]);
150 150
 
151 151
         if (!$response) {
152 152
             return false;
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
      */
199 199
     public function create(array $params)
200 200
     {
201
-        $response = $this->sendRequest('POST', "/sobject/" . $this->getType(), [
201
+        $response = $this->sendRequest('POST', "/sobject/".$this->getType(), [
202 202
             'json' => $params,
203 203
         ]);
204 204
 
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
      */
223 223
     public function delete(string $id)
224 224
     {
225
-        $response = $this->sendRequest('DELETE', "/sobjects/" . $this->getType() ."/$id");
225
+        $response = $this->sendRequest('DELETE', "/sobjects/".$this->getType()."/$id");
226 226
 
227 227
         if (!$response) {
228 228
             return false;
Please login to merge, or discard this patch.