aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
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());