Completed
Push — master ( 9e30d1...c7ffd5 )
by Gabriel
02:32
created
src/RequestHandler.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,9 @@
 block discarded – undo
62 62
     {
63 63
         $headers['Content-Type'] = 'application/json';
64 64
         $body = null;
65
-        if ($params) $body = \GuzzleHttp\json_encode($params);
65
+        if ($params) {
66
+            $body = \GuzzleHttp\json_encode($params);
67
+        }
66 68
         $request = new GuzzleRequest('POST', $endpoint, $headers, $body);
67 69
 
68 70
         try {
Please login to merge, or discard this patch.