mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
refactor: apply rector refactoring
This commit is contained in:
parent
5b051cec8d
commit
c68372fc1e
1 changed files with 2 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ final class AppServiceProvider extends ServiceProvider
|
|||
*/
|
||||
private function configureHttps(): void
|
||||
{
|
||||
if (App::isProduction() && (bool) config('app.force_https')) {
|
||||
if (App::isProduction() && config()->boolean('app.force_https')) {
|
||||
URL::forceScheme('https');
|
||||
}
|
||||
}
|
||||
|
|
@ -85,6 +85,7 @@ final class AppServiceProvider extends ServiceProvider
|
|||
if (! App::isProduction()) {
|
||||
Model::preventLazyLoading();
|
||||
}
|
||||
|
||||
Model::preventSilentlyDiscardingAttributes();
|
||||
Model::preventAccessingMissingAttributes();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue