Completed
Branch master (c97a06)
by Vinicius Morais
02:18
created
Category
src/Api.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Query.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,9 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.