Completed
Pull Request — master (#15)
by Eduardo
02:28
created
src/Helpers/ResponseHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
      */
20 20
     public static function hasErrorStatusCode(ResponseInterface $response) : bool
21 21
     {
22
-        return \in_array(+ \mb_substr($response->getStatusCode(), 0, 1), [4, 5], true);
22
+        return \in_array(+\mb_substr($response->getStatusCode(), 0, 1), [4, 5], true);
23 23
     }
24 24
 }
25 25
\ No newline at end of file
Please login to merge, or discard this patch.
src/Helpers/RequestHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      */
75 75
     private static function _decodeJSON(string $json) : string
76 76
     {
77
-        if(empty($json)) {
77
+        if (empty($json)) {
78 78
             return ''; // or also like in your code just return $json
79 79
         }
80 80
         return http_build_query(\GuzzleHttp\json_decode($json, true), '', '&');
Please login to merge, or discard this patch.