Passed
Pull Request — master (#36)
by guillaume
05:31
created
app/Providers/AppServiceProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -35,31 +35,31 @@
 block discarded – undo
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
     }
48 48
 
49 49
     public function boot()
50 50
     {
51
-        if(config('app.env') !== 'testing' && config('app.env') !== 'testing-ti') {
51
+        if (config('app.env') !== 'testing' && config('app.env') !== 'testing-ti') {
52 52
             Schema::defaultStringLength(191);
53 53
         }
54 54
 
55
-        if(config('app.env') === 'local' || config('app.env') === 'production'){
55
+        if (config('app.env') === 'local' || config('app.env') === 'production') {
56 56
             \URL::forceScheme('https');
57 57
         }
58 58
     }
59 59
 
60 60
     private function registerHelpers(): void
61 61
     {
62
-        foreach (glob(app_path() . '/Src/Utils/Helpers/*.php') as $filename) {
62
+        foreach (glob(app_path().'/Src/Utils/Helpers/*.php') as $filename) {
63 63
             require_once($filename);
64 64
         }
65 65
     }
Please login to merge, or discard this patch.