- Issue created by @Anybody
- 🇩🇪Germany Anybody Porta Westfalica
Ah sorry, just saw that we were using 2.2.12. In 2.3.x this code doesn't exist any more. I may not upgrade to 2.3.0-alpha to test it, so let's postpone this for now. If the maintainer knows if these lines of code might still be affected in 2.3.x, we can set this active again.
These are the affected lines:
// Process the JSON result into array. if (isset($response) && $response instanceof ResponseInterface) { /** @var array $return */ $return = json_decode($response->getBody(), TRUE); return $return; }
Which means that propably json_decode() of the response is
NULL
, but an array is expected, so we should maybe transform NULL's to[]
? - Merge request !42Draft: Throw an exception with details on unexpected result. → (Open) created by Anybody
- 🇩🇪Germany Anybody Porta Westfalica
Okay looks like DeepL returns an empty string here (
$response->getBody()
), in cases where this happens.