]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ImportBundle/Import/PocketImport.php
Merge pull request #4151 from ldidry/fix-4060
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Import / PocketImport.php
index b35a561bb45eacf3d7a0115a24be93ddd92dea6b..24fdaa2b83f6efd7f863a366ffd3fd51a3e8ff60 100644 (file)
@@ -151,9 +151,6 @@ class PocketImport extends AbstractImport
 
     /**
      * Set the Http client.
-     *
-     * @param HttpClient          $client
-     * @param MessageFactory|null $messageFactory
      */
     public function setClient(HttpClient $client, MessageFactory $messageFactory = null)
     {
@@ -247,7 +244,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());