Completed
Push — dev ( 612ddd...7e6283 )
by Konstantin
8s
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.
src/services/CatalogService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.