@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | */ |
| 74 | 74 | public function delete($name) |
| 75 | 75 | { |
| 76 | - $endpoint = 'https://api.hubapi.com/properties/v1/deals/properties/named/' . $name; |
|
| 76 | + $endpoint = 'https://api.hubapi.com/properties/v1/deals/properties/named/'.$name; |
|
| 77 | 77 | return $this->client->request('delete', $endpoint); |
| 78 | 78 | } |
| 79 | 79 | |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | { |
| 154 | 154 | $endpoint = "https://api.hubapi.com/properties/v1/deals/groups/named/{$groupName}"; |
| 155 | 155 | |
| 156 | - if($includeProperties){ |
|
| 156 | + if ($includeProperties) { |
|
| 157 | 157 | $queryString = build_query_string(['includeProperties' => 'true']); |
| 158 | 158 | |
| 159 | 159 | return $this->client->request('get', $endpoint, [], $queryString); |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | { |
| 175 | 175 | $endpoint = 'https://api.hubapi.com/properties/v1/deals/groups'; |
| 176 | 176 | |
| 177 | - if($includeProperties){ |
|
| 177 | + if ($includeProperties) { |
|
| 178 | 178 | $queryString = build_query_string(['includeProperties' => 'true']); |
| 179 | 179 | |
| 180 | 180 | return $this->client->request('get', $endpoint, [], $queryString); |