Total Complexity | 4 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
13 | class AppServiceProvider extends ServiceProvider |
||
14 | { |
||
15 | /** |
||
16 | * Bootstrap any application services. |
||
17 | */ |
||
18 | public function boot(): void |
||
19 | { |
||
20 | if (env('APP_FORCE_HTTPS')) { |
||
21 | $this->app['request']->server->set('HTTPS', true); |
||
22 | } |
||
23 | |||
24 | if ($this->app->environment() === 'local') { |
||
25 | $this->app->register(IdeHelperServiceProvider::class); |
||
26 | } |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Register any application services. |
||
31 | */ |
||
32 | public function register(): void |
||
34 | } |
||
35 | } |
||
36 |