1
0
mirror of https://github.com/flarum/core.git synced 2025-08-12 19:34:18 +02:00

Applied fixes from StyleCI

This commit is contained in:
Toby Zerner
2016-02-25 22:09:39 -05:00
committed by StyleCI Bot
parent 83c22d73a4
commit a6cf10f854
96 changed files with 240 additions and 245 deletions

View File

@@ -26,7 +26,7 @@ class MemoryCacheSettingsRepository implements SettingsRepositoryInterface
public function all()
{
if (!$this->isCached) {
if (! $this->isCached) {
$this->cache = $this->inner->all();
$this->isCached = true;
}
@@ -38,7 +38,7 @@ class MemoryCacheSettingsRepository implements SettingsRepositoryInterface
{
if (array_key_exists($key, $this->cache)) {
return $this->cache[$key];
} elseif (!$this->isCached) {
} elseif (! $this->isCached) {
return array_get($this->all(), $key, $default);
}