Test Failed
Push — master ( 79ea39...cae691 )
by PHPLicengine
02:08
created
lib/PHPLicengine/Api/Api.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
                             case 'POST':
133 133
                                           curl_setopt(/** @scrutinizer ignore-type */ $ch, CURLOPT_POST, true);
134 134
                                           if ($this->json === true) {
135
-                                              $params = json_encode($params);
135
+                                                 $params = json_encode($params);
136 136
                                           }
137 137
                                           curl_setopt(/** @scrutinizer ignore-type */ $ch, CURLOPT_POSTFIELDS, $params);
138 138
                             break;
@@ -165,14 +165,14 @@  discard block
 block discarded – undo
165 165
               
166 166
               private function _createHeaders($headers = null)
167 167
               {
168
-                      $headers[] = $this->_api_key_var.$this->_api_key;
169
-                      if ($this->json === true) {
170
-                          $headers[] = 'Content-Type: application/json';
171
-                      }
172
-                      if ($this->accept === true) {
173
-                          $headers[] = 'Accept: application/json';
174
-                      }
175
-                      return $headers;
168
+                            $headers[] = $this->_api_key_var.$this->_api_key;
169
+                            if ($this->json === true) {
170
+                            $headers[] = 'Content-Type: application/json';
171
+                            }
172
+                            if ($this->accept === true) {
173
+                            $headers[] = 'Accept: application/json';
174
+                            }
175
+                            return $headers;
176 176
               }
177 177
   
178 178
               private function _parseHeaders($raw_headers) 
Please login to merge, or discard this patch.