From b902aaa64016cb469e2bf6d98b5dd6a3c3753d20 Mon Sep 17 00:00:00 2001 From: indy koning Date: Wed, 8 Jul 2020 11:19:59 +0200 Subject: [PATCH] Fix error, getSettingsModel returns class instead of an instance of class. --- src/NovaSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NovaSettings.php b/src/NovaSettings.php index a1947f8..f0e5390 100644 --- a/src/NovaSettings.php +++ b/src/NovaSettings.php @@ -95,7 +95,7 @@ public static function getSettings(array $settingKeys = null) })->pluck('value', 'key')->toArray(); } - public static function getSettingsModel(): Model + public static function getSettingsModel(): string { return config('nova-settings.models.settings', Settings::class); }