@@ -67,7 +67,7 @@  | 
                                                    ||
| 67 | 67 | $this->fields = (empty($toJson) ? $fields : json_encode($fields));  | 
                                                        
| 68 | 68 | $this->setHeaders($headers);  | 
                                                        
| 69 | 69 | |
| 70 | -        if($toJson){ | 
                                                        |
| 70 | +        if ($toJson) { | 
                                                        |
| 71 | 71 | $this->headers[] = "Content-Type: application/json";  | 
                                                        
| 72 | 72 | $this->headers[] = "accept: application/json";  | 
                                                        
| 73 | 73 | }  |