CS: PSR1/2

parent a047aef0
...@@ -52,7 +52,7 @@ class CachePageDecorator extends BaseCacheDecorator implements PageRepository ...@@ -52,7 +52,7 @@ class CachePageDecorator extends BaseCacheDecorator implements PageRepository
*/ */
public function findBySlugInLocale($slug, $locale) public function findBySlugInLocale($slug, $locale)
{ {
return $this->remember(function () use($slug, $locale) { return $this->remember(function () use ($slug, $locale) {
return $this->repository->findBySlugInLocale($slug, $locale); return $this->repository->findBySlugInLocale($slug, $locale);
}); });
} }
......
...@@ -46,7 +46,7 @@ class CacheSettingDecorator extends BaseCacheDecorator implements SettingReposit ...@@ -46,7 +46,7 @@ class CacheSettingDecorator extends BaseCacheDecorator implements SettingReposit
*/ */
public function moduleSettings($modules) public function moduleSettings($modules)
{ {
return $this->remember(function() use ($modules) { return $this->remember(function () use ($modules) {
return $this->repository->moduleSettings($modules); return $this->repository->moduleSettings($modules);
}); });
} }
...@@ -58,7 +58,7 @@ class CacheSettingDecorator extends BaseCacheDecorator implements SettingReposit ...@@ -58,7 +58,7 @@ class CacheSettingDecorator extends BaseCacheDecorator implements SettingReposit
*/ */
public function savedModuleSettings($module) public function savedModuleSettings($module)
{ {
return $this->remember(function() use ($module) { return $this->remember(function () use ($module) {
return $this->repository->savedModuleSettings($module); return $this->repository->savedModuleSettings($module);
}); });
} }
...@@ -70,7 +70,7 @@ class CacheSettingDecorator extends BaseCacheDecorator implements SettingReposit ...@@ -70,7 +70,7 @@ class CacheSettingDecorator extends BaseCacheDecorator implements SettingReposit
*/ */
public function findByModule($module) public function findByModule($module)
{ {
return $this->remember(function() use ($module) { return $this->remember(function () use ($module) {
return $this->repository->findByModule($module); return $this->repository->findByModule($module);
}); });
} }
...@@ -82,7 +82,7 @@ class CacheSettingDecorator extends BaseCacheDecorator implements SettingReposit ...@@ -82,7 +82,7 @@ class CacheSettingDecorator extends BaseCacheDecorator implements SettingReposit
*/ */
public function get($settingName) public function get($settingName)
{ {
return $this->remember(function() use ($settingName) { return $this->remember(function () use ($settingName) {
return $this->repository->get($settingName); return $this->repository->get($settingName);
}); });
} }
...@@ -94,7 +94,7 @@ class CacheSettingDecorator extends BaseCacheDecorator implements SettingReposit ...@@ -94,7 +94,7 @@ class CacheSettingDecorator extends BaseCacheDecorator implements SettingReposit
*/ */
public function translatableModuleSettings($module) public function translatableModuleSettings($module)
{ {
return $this->remember(function() use ($module) { return $this->remember(function () use ($module) {
return $this->repository->translatableModuleSettings($module); return $this->repository->translatableModuleSettings($module);
}); });
} }
...@@ -106,7 +106,7 @@ class CacheSettingDecorator extends BaseCacheDecorator implements SettingReposit ...@@ -106,7 +106,7 @@ class CacheSettingDecorator extends BaseCacheDecorator implements SettingReposit
*/ */
public function plainModuleSettings($module) public function plainModuleSettings($module)
{ {
return $this->remember(function() use ($module) { return $this->remember(function () use ($module) {
return $this->repository->plainModuleSettings($module); return $this->repository->plainModuleSettings($module);
}); });
} }
......
...@@ -21,7 +21,7 @@ class CacheTagDecorator extends BaseCacheDecorator implements TagRepository ...@@ -21,7 +21,7 @@ class CacheTagDecorator extends BaseCacheDecorator implements TagRepository
*/ */
public function allForNamespace($namespace) public function allForNamespace($namespace)
{ {
return $this->remember(function () use($namespace) { return $this->remember(function () use ($namespace) {
return $this->repository->allForNamespace($namespace); return $this->repository->allForNamespace($namespace);
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment