@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | { |
102 | 102 | $setting = $this->get($key); |
103 | 103 | |
104 | - if($setting) { |
|
104 | + if ($setting) { |
|
105 | 105 | return $setting->getValue(); |
106 | 106 | } |
107 | 107 | |
@@ -155,6 +155,6 @@ discard block |
||
155 | 155 | */ |
156 | 156 | public function findAllByNamespace($namespace) |
157 | 157 | { |
158 | - return $this->model->where('key', 'LIKE', $namespace . '%')->get(); |
|
158 | + return $this->model->where('key', 'LIKE', $namespace.'%')->get(); |
|
159 | 159 | } |
160 | 160 | } |
@@ -44,11 +44,11 @@ |
||
44 | 44 | $namespace = $parts[0]; |
45 | 45 | $key = $parts[1]; |
46 | 46 | |
47 | - if (!$fields = $config->get($namespace . '::settings/settings')) { |
|
48 | - $fields = $config->get($namespace . '::settings'); |
|
47 | + if (!$fields = $config->get($namespace.'::settings/settings')) { |
|
48 | + $fields = $config->get($namespace.'::settings'); |
|
49 | 49 | } |
50 | 50 | |
51 | - $defaultValue = array_get($fields, $key . '.config.default_value', null); |
|
51 | + $defaultValue = array_get($fields, $key.'.config.default_value', null); |
|
52 | 52 | |
53 | 53 | /** |
54 | 54 | * If it is a closure, run it through the IoC container |