Completed
Pull Request — master (#94)
by
unknown
02:26
created
src/Resources/Deals.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      * @return \Psr\Http\Message\ResponseInterface|\SevenShores\Hubspot\Http\Response
40 40
      * @throws \SevenShores\Hubspot\Exceptions\BadRequest
41 41
      */
42
-    function getAll(array $params = []){
42
+    function getAll(array $params = []) {
43 43
         $endpoint = "https://api.hubapi.com/deals/v1/deal/paged";
44 44
 
45 45
         $queryString = build_query_string($params);
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     {
104 104
         $endpoint = "https://api.hubapi.com/deals/v1/deal/{$dealId}/associations/COMPANY";
105 105
 
106
-        $queryString = build_query_string(['id' => (array)$companyIds]);
106
+        $queryString = build_query_string(['id' => (array) $companyIds]);
107 107
 
108 108
         return $this->client->request('put', $endpoint, [], $queryString);
109 109
     }
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     {
118 118
         $endpoint = "https://api.hubapi.com/deals/v1/deal/{$dealId}/associations/COMPANY";
119 119
 
120
-        $queryString = build_query_string(['id' => (array)$companyIds]);
120
+        $queryString = build_query_string(['id' => (array) $companyIds]);
121 121
 
122 122
         return $this->client->request('delete', $endpoint, [], $queryString);
123 123
     }
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     {
132 132
         $endpoint = "https://api.hubapi.com/deals/v1/deal/{$dealId}/associations/CONTACT";
133 133
 
134
-        $queryString = build_query_string(['id' => (array)$contactIds]);
134
+        $queryString = build_query_string(['id' => (array) $contactIds]);
135 135
 
136 136
         return $this->client->request('put', $endpoint, [], $queryString);
137 137
     }
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
     {
157 157
         $endpoint = "https://api.hubapi.com/deals/v1/deal/{$dealId}/associations/CONTACT";
158 158
 
159
-        $queryString = build_query_string(['id' => (array)$contactIds]);
159
+        $queryString = build_query_string(['id' => (array) $contactIds]);
160 160
 
161 161
         return $this->client->request('delete', $endpoint, [], $queryString);
162 162
     }
Please login to merge, or discard this patch.