Skip to content

Commit d912ecd

Browse files
committed
Fixed regression with json-responses parsing
1 parent 8c8d7c4 commit d912ecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ private function parseResponse($response)
342342

343343
if ($contentType && strpos($contentType, 'json') !== false)
344344
{
345-
$responseBody = json_decode($responseBody, true);
345+
return json_decode($responseBody, true);
346346
}
347347

348348
try

0 commit comments

Comments
 (0)