Test Failed
Push — master ( 3a59e4...6d2ccd )
by PHPLicengine
02:15
created
lib/PHPLicengine/Api/Api.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -162,21 +162,21 @@
 block discarded – undo
162 162
               
163 163
               private function _json_encoder($params)
164 164
               {
165
-                      if ($this->json === true) {
166
-                          return json_encode($params);
167
-                      }
165
+                            if ($this->json === true) {
166
+                            return json_encode($params);
167
+                            }
168 168
               }
169 169
   
170 170
               private function _createHeaders($headers = null)
171 171
               {
172
-                      $headers[] = $this->_api_key_var.$this->_api_key;
173
-                      if ($this->json === true) {
174
-                          $headers[] = 'Content-Type: application/json';
175
-                      }
176
-                      if ($this->accept === true) {
177
-                          $headers[] = 'Accept: application/json';
178
-                      }
179
-                      return $headers;
172
+                            $headers[] = $this->_api_key_var.$this->_api_key;
173
+                            if ($this->json === true) {
174
+                            $headers[] = 'Content-Type: application/json';
175
+                            }
176
+                            if ($this->accept === true) {
177
+                            $headers[] = 'Accept: application/json';
178
+                            }
179
+                            return $headers;
180 180
               }
181 181
   
182 182
               private function _parseHeaders($raw_headers) 
Please login to merge, or discard this patch.