mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-15 01:48:43 +01:00
CS
This commit is contained in:
parent
448d99f84e
commit
a91a3150fb
@ -247,7 +247,7 @@ class PocketImport extends AbstractImport
|
||||
|
||||
protected function jsonDecode(ResponseInterface $response)
|
||||
{
|
||||
$data = \json_decode((string) $response->getBody(), true);
|
||||
$data = json_decode((string) $response->getBody(), true);
|
||||
|
||||
if (JSON_ERROR_NONE !== json_last_error()) {
|
||||
throw new \InvalidArgumentException('Unable to parse JSON data: ' . json_last_error_msg());
|
||||
|
Loading…
Reference in New Issue
Block a user