Cleanup
This commit is contained in:
@@ -63,10 +63,8 @@ class Repository
|
||||
}
|
||||
|
||||
// fallback to getenv if allowed to
|
||||
if ($checkEnv) {
|
||||
if ($this->settings[$name] = env(strtoupper($name))) {
|
||||
return $this->settings[$name];
|
||||
}
|
||||
if ($checkEnv && ($this->settings[$name] = env(strtoupper($name)))) {
|
||||
return $this->settings[$name];
|
||||
}
|
||||
|
||||
return $default;
|
||||
|
||||
Reference in New Issue
Block a user