@@ -22,11 +22,11 @@ discard block |
||
| 22 | 22 | public function allOnlineInLang($lang) |
| 23 | 23 | { |
| 24 | 24 | return $this->cache |
| 25 | - ->tags([$this->entityName, 'global']) |
|
| 25 | + ->tags([ $this->entityName, 'global' ]) |
|
| 26 | 26 | ->remember( |
| 27 | 27 | "{$this->locale}.{$this->entityName}.allOnlineInLang", |
| 28 | 28 | $this->cacheTime, |
| 29 | - function () use ($lang) { |
|
| 29 | + function() use ($lang) { |
|
| 30 | 30 | return $this->repository->allOnlineInLang($lang); |
| 31 | 31 | } |
| 32 | 32 | ); |
@@ -40,11 +40,11 @@ discard block |
||
| 40 | 40 | public function get($name) |
| 41 | 41 | { |
| 42 | 42 | return $this->cache |
| 43 | - ->tags([$this->entityName, 'global']) |
|
| 43 | + ->tags([ $this->entityName, 'global' ]) |
|
| 44 | 44 | ->remember( |
| 45 | 45 | "{$this->locale}.{$this->entityName}.get.{$name}", |
| 46 | 46 | $this->cacheTime, |
| 47 | - function () use ($name) { |
|
| 47 | + function() use ($name) { |
|
| 48 | 48 | return $this->repository->get($name); |
| 49 | 49 | } |
| 50 | 50 | ); |