Completed
Pull Request — master (#3)
by
unknown
02:32
created
src/services/AccountService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/RequestHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
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());
Please login to merge, or discard this patch.