Completed
Push — master ( 375a11...881166 )
by Nicolas
14:02
created
Repositories/Cache/CacheBlockDecorator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,11 +22,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             );
Please login to merge, or discard this patch.