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