We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | $this->setupRoutes(); |
40 | 40 | |
41 | 41 | // only use the Settings package if the Settings table is present in the database |
42 | - if (! App::runningInConsole() && Schema::hasTable(config('backpack.settings.table_name'))) { |
|
42 | + if (!App::runningInConsole() && Schema::hasTable(config('backpack.settings.table_name'))) { |
|
43 | 43 | /** @var \Illuminate\Database\Eloquent\Model $modelClass */ |
44 | 44 | $modelClass = config('backpack.settings.model', \Backpack\Settings\app\Models\Setting::class); |
45 | 45 | |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | // bind all settings to the Laravel config, so you can call them like |
52 | 52 | // Config::get('settings.contact_email') |
53 | 53 | foreach ($settings as $key => $setting) { |
54 | - $prefixed_key = ! empty($config_prefix) ? $config_prefix.'.'.$setting->key : $setting->key; |
|
54 | + $prefixed_key = !empty($config_prefix) ? $config_prefix.'.'.$setting->key : $setting->key; |
|
55 | 55 | config([$prefixed_key => $setting->value]); |
56 | 56 | } |
57 | 57 | } |