SyntaxFix
Write A Post
Hire A Developer
Questions
I use json_decode($response->getBody()) now instead of $response->json().
json_decode($response->getBody())
$response->json()
I suspect this might be a casualty of PSR-7 compliance.