@@ -70,7 +70,7 @@ |
||
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 { |
@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | |
8 | 8 | class DemoTest extends TestCase |
9 | 9 | { |
10 | - protected $wow; |
|
10 | + protected $wow; |
|
11 | 11 | |
12 | 12 | public function setUp() |
13 | 13 | { |
@@ -18,6 +18,6 @@ discard block |
||
18 | 18 | |
19 | 19 | public function testCallSuccess() |
20 | 20 | { |
21 | - $this->assertInstanceOf(Collection::class, $this->wow->getAchievement(2144)); |
|
21 | + $this->assertInstanceOf(Collection::class, $this->wow->getAchievement(2144)); |
|
22 | 22 | } |
23 | 23 | } |
24 | 24 | \ No newline at end of file |