Passed
Push — master ( dc4f1f...6b2c4c )
by Gabriel
02:50
created
src/RequestHandler.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,9 @@
 block discarded – undo
54 54
     {
55 55
         $headers['Content-Type'] = 'application/json';
56 56
         $body = null;
57
-        if ($params) $body = \GuzzleHttp\json_encode($params);
57
+        if ($params) {
58
+            $body = \GuzzleHttp\json_encode($params);
59
+        }
58 60
         $request = new GuzzleRequest('POST', $endpoint, $headers, $body);
59 61
         $response = $this->client->send($request);
60 62
 
Please login to merge, or discard this patch.