mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-09 10:22:51 +03:00
Aligned setting helper with new get method changes
Also removed old unsused facade that existed for settings.
This commit is contained in:
@@ -79,9 +79,9 @@ function userCanOnAny(string $permission, string $entityClass = null): bool
|
||||
|
||||
/**
|
||||
* Helper to access system settings.
|
||||
* @return bool|string|SettingService
|
||||
* @return mixed|SettingService
|
||||
*/
|
||||
function setting(string $key = null, $default = false)
|
||||
function setting(string $key = null, $default = null)
|
||||
{
|
||||
$settingService = resolve(SettingService::class);
|
||||
|
||||
|
Reference in New Issue
Block a user