@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | */ |
| 28 | 28 | public function get($key, $default = null) |
| 29 | 29 | { |
| 30 | - return $this->cache->get($key, $default)->then(function ($result) use ($default) { |
|
| 30 | + return $this->cache->get($key, $default)->then(function($result) use ($default) { |
|
| 31 | 31 | if ($result === null || $result === $default) { |
| 32 | 32 | return $result; |
| 33 | 33 | } |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | |
| 59 | 59 | public function getMultiple(array $keys, $default = null) |
| 60 | 60 | { |
| 61 | - return $this->cache->getMultiple($keys, $default)->then(function ($results) use ($default) { |
|
| 61 | + return $this->cache->getMultiple($keys, $default)->then(function($results) use ($default) { |
|
| 62 | 62 | foreach ($results as $key => $result) { |
| 63 | 63 | if ($result === null || $result === $default) { |
| 64 | 64 | continue; |