@@ -35,13 +35,13 @@ discard block |
||
35 | 35 | { |
36 | 36 | $this->registerHelpers(); |
37 | 37 | |
38 | - if(config('app.env') === 'testing'){ |
|
38 | + if (config('app.env') === 'testing') { |
|
39 | 39 | $this->tuBinding(); |
40 | 40 | } |
41 | - if(config('app.env') === 'testing-ti'){ |
|
41 | + if (config('app.env') === 'testing-ti') { |
|
42 | 42 | $this->tiBinding(); |
43 | 43 | } |
44 | - if(config('app.env') === 'local' || config('app.env') === 'production'){ |
|
44 | + if (config('app.env') === 'local' || config('app.env') === 'production') { |
|
45 | 45 | $this->prodBinding(); |
46 | 46 | } |
47 | 47 | } |
@@ -51,14 +51,14 @@ discard block |
||
51 | 51 | // Force max key length - @see: https://laravel-news.com/laravel-5-4-key-too-long-error |
52 | 52 | Schema::defaultStringLength(191); |
53 | 53 | |
54 | - if(config('app.env') !== 'testing' && config('app.env') !== 'testing-ti') { |
|
54 | + if (config('app.env') !== 'testing' && config('app.env') !== 'testing-ti') { |
|
55 | 55 | Schema::defaultStringLength(191); |
56 | 56 | } |
57 | 57 | } |
58 | 58 | |
59 | 59 | private function registerHelpers(): void |
60 | 60 | { |
61 | - foreach (glob(app_path() . '/Src/Utils/Helpers/*.php') as $filename) { |
|
61 | + foreach (glob(app_path().'/Src/Utils/Helpers/*.php') as $filename) { |
|
62 | 62 | require_once($filename); |
63 | 63 | } |
64 | 64 | } |