Completed
Push — master ( e141de...fd8bf5 )
by Guillaume
06:37 queued 04:40
created
src/BattlenetHttpClient.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     public function cache($response, $method)
71 71
     {
72 72
         if (true == $this->hasToCache()) {
73
-            return $this->cache->remember($this->cacheKey.snake_case($method), $this->getCacheDuration(), function () use ($response) {
73
+            return $this->cache->remember($this->cacheKey.snake_case($method), $this->getCacheDuration(), function() use ($response) {
74 74
                 return collect(json_decode($response->getBody()->getContents()));
75 75
             });
76 76
         } else {
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,8 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * Make request with API url and specific URL suffix.
53 53
      *
54
-     * @param string $urlSuffix API URL method
55 54
      * @param array  $options   Options
55
+     * @param string $apiEndPoint
56 56
      *
57 57
      * @return ResponseInterface
58 58
      */
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     /**
73 73
      * Cache the api response data if cache set to true in config file.
74 74
      *
75
-     * @param  Illuminate\Support\Collection $response
75
+     * @param  Response $response
76 76
      * @param  string $method   method name
77 77
      * @return GuzzleHttp\Psr7\Response api response
78 78
      */
Please login to merge, or discard this patch.