@@ -275,8 +275,8 @@ discard block |
||
275 | 275 | |
276 | 276 | $cache_callback = function () use ($arguments, $cacheKey, $method) { |
277 | 277 | return [ |
278 | - "key" => $cacheKey, |
|
279 | - "value" => parent::{$method}(...$arguments), |
|
278 | + "key" => $cacheKey, |
|
279 | + "value" => parent::{$method}(...$arguments), |
|
280 | 280 | ]; |
281 | 281 | }; |
282 | 282 | |
@@ -284,11 +284,11 @@ discard block |
||
284 | 284 | $this->checkCooldownAndRemoveIfExpired($this->getModel()); |
285 | 285 | if ($this->getModel()::maxCacheTimeout() > 0) { |
286 | 286 | return $this->cache($cacheTags) |
287 | - ->remember( |
|
287 | + ->remember( |
|
288 | 288 | $hashedCacheKey, |
289 | 289 | $this->getModel()::maxCacheTimeout(), |
290 | 290 | $cache_callback |
291 | - ); |
|
291 | + ); |
|
292 | 292 | } |
293 | 293 | } |
294 | 294 |