Code Duplication    Length = 3-3 lines in 2 locations

src/Client.php 2 locations

@@ 327-329 (lines=3) @@
324
            $response = $this->_adapter->end($this->_adapter->start($request));
325
        }
326
327
        if (($this->_cacheMode === self::CACHE_MODE_REFRESH || $this->_cacheMode & self::CACHE_MODE_GET) && $request->getMethod() === 'GET') {
328
            $this->_cache->set($request, $response);
329
        }
330
331
        return $response;
332
    }
@@ 386-388 (lines=3) @@
383
384
        list($this->_accessToken, $this->_refreshToken, $expires) = Authentication::parseTokenResponse($response);
385
386
        if ($this->_cache === self::CACHE_MODE_REFRESH || $this->_cacheMode & self::CACHE_MODE_TOKEN) {
387
            $this->_cache->set($request, $response, $expires);
388
        }
389
    }
390
391
    /**