@@ -26,7 +26,9 @@ |
||
| 26 | 26 | break; |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | - if (is_null($postFields)) return "The postfield field cannot be null"; |
|
| 29 | + if (is_null($postFields)) { |
|
| 30 | + return "The postfield field cannot be null"; |
|
| 31 | + } |
|
| 30 | 32 | |
| 31 | 33 | $curl = curl_init(); |
| 32 | 34 | |
@@ -24,8 +24,9 @@ |
||
| 24 | 24 | { |
| 25 | 25 | $query = file_get_contents("$this->folder$this->file"); |
| 26 | 26 | |
| 27 | - if (gettype($query) !== 'string') |
|
| 28 | - return 'This query is not a valid string'; |
|
| 27 | + if (gettype($query) !== 'string') { |
|
| 28 | + return 'This query is not a valid string'; |
|
| 29 | + } |
|
| 29 | 30 | |
| 30 | 31 | return $this->format($query); |
| 31 | 32 | } |