diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-02-07 17:30:38 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2019-05-28 11:42:27 +0200 |
commit | a91a3150fbc4446e379cc23618db8f74e4044515 (patch) | |
tree | dc7e65a1dbd3b54d056a5d73c628b25cd353a8a2 /src/Wallabag/ImportBundle | |
parent | 448d99f84e93697ce49ec31224addb1da1a37a9f (diff) | |
download | wallabag-a91a3150fbc4446e379cc23618db8f74e4044515.tar.gz wallabag-a91a3150fbc4446e379cc23618db8f74e4044515.tar.zst wallabag-a91a3150fbc4446e379cc23618db8f74e4044515.zip |
CS
Diffstat (limited to 'src/Wallabag/ImportBundle')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/PocketImport.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Import/PocketImport.php b/src/Wallabag/ImportBundle/Import/PocketImport.php index b35a561b..746120af 100644 --- a/src/Wallabag/ImportBundle/Import/PocketImport.php +++ b/src/Wallabag/ImportBundle/Import/PocketImport.php | |||
@@ -247,7 +247,7 @@ class PocketImport extends AbstractImport | |||
247 | 247 | ||
248 | protected function jsonDecode(ResponseInterface $response) | 248 | protected function jsonDecode(ResponseInterface $response) |
249 | { | 249 | { |
250 | $data = \json_decode((string) $response->getBody(), true); | 250 | $data = json_decode((string) $response->getBody(), true); |
251 | 251 | ||
252 | if (JSON_ERROR_NONE !== json_last_error()) { | 252 | if (JSON_ERROR_NONE !== json_last_error()) { |
253 | throw new \InvalidArgumentException('Unable to parse JSON data: ' . json_last_error_msg()); | 253 | throw new \InvalidArgumentException('Unable to parse JSON data: ' . json_last_error_msg()); |