diff --git a/src/Setting/SettingEloquentStorage.php b/src/Setting/SettingEloquentStorage.php index 703304b4..085170fc 100644 --- a/src/Setting/SettingEloquentStorage.php +++ b/src/Setting/SettingEloquentStorage.php @@ -40,7 +40,7 @@ public function all($fresh = false) */ public function get($key, $default = null, $fresh = false) { - return $this->all($fresh)->get($key, $default); + return $this->all($fresh)->get($key, $default) ?? $default; } /**