Completed
Push — master ( 5dad71...413e80 )
by Guillaume
02:24
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
@@ -50,8 +50,8 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * Make request with API url and specific URL suffix.
52 52
      *
53
-     * @param string $urlSuffix API URL method
54 53
      * @param array  $options   Options
54
+     * @param string $apiEndPoint
55 55
      *
56 56
      * @return ResponseInterface
57 57
      */
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * Cache the api response data if cache set to true in config file
73 73
      * 
74
-     * @param  Illuminate\Support\Collection $response
74
+     * @param  ResponseInterface $response
75 75
      * @param  string $method   method name
76 76
      * @return Illuminate\Support\Collection api response
77 77
      */
Please login to merge, or discard this patch.