aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-02-07 17:30:38 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-05-28 11:42:27 +0200
commita91a3150fbc4446e379cc23618db8f74e4044515 (patch)
treedc7e65a1dbd3b54d056a5d73c628b25cd353a8a2 /src/Wallabag
parent448d99f84e93697ce49ec31224addb1da1a37a9f (diff)
downloadwallabag-a91a3150fbc4446e379cc23618db8f74e4044515.tar.gz
wallabag-a91a3150fbc4446e379cc23618db8f74e4044515.tar.zst
wallabag-a91a3150fbc4446e379cc23618db8f74e4044515.zip
CS
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/ImportBundle/Import/PocketImport.php2
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());