Skip to content

Commit

Permalink
Merge pull request #26 from indykoning/master
Browse files Browse the repository at this point in the history
Fix error, getSettingsModel returns class instead of an instance of class.
  • Loading branch information
Tarpsvo authored Jul 8, 2020
2 parents 1ffc42d + b902aaa commit 18b0db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NovaSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 18b0db9

Please sign in to comment.