Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
16 | 4 | public function boot() |
|
17 | { |
||
18 | // A lower default string length for migrations is required for |
||
19 | // versions of MySQL < 5.7.7 |
||
20 | 4 | Schema::defaultStringLength(191); |
|
21 | |||
22 | //Force all routes and requests to use HTTPS |
||
23 | 4 | $this->app['request']->server->set('HTTPS', config('app.force_https')); |
|
24 | 4 | } |
|
48 |