|
@@ -88,14 +88,14 @@ |
|
|
block discarded – undo |
|
88
|
88
|
*/ |
|
89
|
89
|
public function load(): Config |
|
90
|
90
|
{ |
|
91
|
|
- $this->encryption = (bool)config($this->configName . '.encryption', $this->encryption); |
|
92
|
|
- $this->autoClear = (bool)config($this->configName . '.auto_clear', $this->autoClear); |
|
|
91
|
+ $this->encryption = (bool) config($this->configName . '.encryption', $this->encryption); |
|
|
92
|
+ $this->autoClear = (bool) config($this->configName . '.auto_clear', $this->autoClear); |
|
93
|
93
|
$this->autoClearPause = intval(config($this->configName . '.auto_clear_pause', $this->autoClearPause)); |
|
94
|
|
- $this->repository_global = (string)config($this->configName . '.repository_global', $this->repository_global); |
|
95
|
|
- $this->repository_access = (string)config($this->configName . '.repository_access', $this->repository_access); |
|
96
|
|
- $this->lastUse = (bool)config($this->configName . '.last_use', $this->lastUse); |
|
97
|
|
- $this->jwt = (bool)config($this->configName . '.jwt', $this->jwt); |
|
98
|
|
- $this->salt = (string)config($this->configName . '.salt', $this->salt); |
|
|
94
|
+ $this->repository_global = (string) config($this->configName . '.repository_global', $this->repository_global); |
|
|
95
|
+ $this->repository_access = (string) config($this->configName . '.repository_access', $this->repository_access); |
|
|
96
|
+ $this->lastUse = (bool) config($this->configName . '.last_use', $this->lastUse); |
|
|
97
|
+ $this->jwt = (bool) config($this->configName . '.jwt', $this->jwt); |
|
|
98
|
+ $this->salt = (string) config($this->configName . '.salt', $this->salt); |
|
99
|
99
|
$this->salt = file_exists($this->salt) ? file_get_contents($this->salt) : $this->salt; |
|
100
|
100
|
return $this; |
|
101
|
101
|
} |