Completed
Pull Request — master (#9)
by Dániel
06:39
created
src/BattlenetHttpClient.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,9 +100,9 @@
 block discarded – undo
100 100
     /**
101 101
      * Cache the api response data if cache set to true in config file.
102 102
      *
103
-     * @param string $urlSuffix API URL method
104 103
      * @param array  $options   Options
105 104
      * @param  string $method   method name
105
+     * @param string $apiEndPoint
106 106
      * @return Collection / GuzzleHttp\Exception\ClientException
107 107
      */
108 108
     public function cache($apiEndPoint, array $options, $method)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Xklusive\BattlenetApi;
4 4
 
5 5
 use GuzzleHttp\Client;
6
-use GuzzleHttp\Psr7\Response;
7 6
 use Illuminate\Contracts\Cache\Repository;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
             return $this->cache->remember(
109 109
                 $uniqCacheKey,
110 110
                 $this->getCacheDuration(),
111
-                function () {
111
+                function() {
112 112
                     return $this->api();
113 113
                 }
114 114
             );
Please login to merge, or discard this patch.
src/Services/WowService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -541,7 +541,7 @@
 block discarded – undo
541 541
      *
542 542
      * @param array $options Options
543 543
      *
544
-     * @return Illuminate\Support\Collection api response
544
+     * @return null|\Xklusive\BattlenetApi\Collection api response
545 545
      */
546 546
     public function getProfileCharacters(array $options = [])
547 547
     {
Please login to merge, or discard this patch.