@@ -148,8 +148,9 @@ |
||
148 | 148 | $body = @json_decode($responseBody, true); |
149 | 149 | $statusCode = (int) $response->getStatusCode(); |
150 | 150 | |
151 | - if ($statusCode != 200) |
|
152 | - return 'err'; |
|
151 | + if ($statusCode != 200) { |
|
152 | + return 'err'; |
|
153 | + } |
|
153 | 154 | |
154 | 155 | return $body; |
155 | 156 | } |