@@ -110,7 +110,7 @@ |
||
110 | 110 | */ |
111 | 111 | private function send($with = ['with' => 'custom_fields,users,pipelines,groups,note_types,task_types']) |
112 | 112 | { |
113 | - $link = $this->getLink().'?'.http_build_query($with); |
|
113 | + $link = $this->getLink() . '?' . http_build_query($with); |
|
114 | 114 | $this->request->performRequest($link, [], 'application/json', 'GET'); |
115 | 115 | } |
116 | 116 |
@@ -61,7 +61,7 @@ |
||
61 | 61 | curl_setopt($curl, CURLOPT_URL, $link); |
62 | 62 | curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $requestType); |
63 | 63 | curl_setopt($curl, CURLOPT_POSTFIELDS, $this->getStringFields($fields, $contentType)); |
64 | - curl_setopt($curl, CURLOPT_HTTPHEADER, ['Content-Type: '.$contentType]); |
|
64 | + curl_setopt($curl, CURLOPT_HTTPHEADER, ['Content-Type: ' . $contentType]); |
|
65 | 65 | curl_setopt($curl, CURLOPT_HEADER, false); |
66 | 66 | curl_setopt($curl, CURLOPT_COOKIEFILE, $this->getCookiePath()); |
67 | 67 | curl_setopt($curl, CURLOPT_COOKIEJAR, $this->getCookiePath()); |
@@ -29,7 +29,7 @@ |
||
29 | 29 | |
30 | 30 | public function lists($id = null) |
31 | 31 | { |
32 | - $link = $id ? $this->getLink().'?id='.$id : $this->getLink(); |
|
32 | + $link = $id ? $this->getLink() . '?id=' . $id : $this->getLink(); |
|
33 | 33 | $this->request->performRequest($link, [], 'application/json', 'GET'); |
34 | 34 | $this->response = $this->request->getResponse(); |
35 | 35 |