@@ -20,13 +20,13 @@ discard block |
||
20 | 20 | */ |
21 | 21 | public function register() |
22 | 22 | { |
23 | - $this->app->singleton(OpenVidu::class, function () { |
|
23 | + $this->app->singleton(OpenVidu::class, function() { |
|
24 | 24 | return new OpenVidu(/** @scrutinizer ignore-call */ config('services.openvidu')); |
25 | 25 | }); |
26 | 26 | |
27 | 27 | $this->app->alias(OpenVidu::class, 'openVidu'); |
28 | 28 | //Default parameter added true due to the compatibility |
29 | - if(config('services.openvidu.use_routes', true)){ |
|
29 | + if (config('services.openvidu.use_routes', true)) { |
|
30 | 30 | $this->registerRoutes(); |
31 | 31 | } |
32 | 32 | } |
@@ -38,8 +38,8 @@ discard block |
||
38 | 38 | */ |
39 | 39 | private function registerRoutes() |
40 | 40 | { |
41 | - Route::group($this->routeConfiguration(), function () { |
|
42 | - $this->loadRoutesFrom(__DIR__.'/../Http/routes.php'); |
|
41 | + Route::group($this->routeConfiguration(), function() { |
|
42 | + $this->loadRoutesFrom(__DIR__ . '/../Http/routes.php'); |
|
43 | 43 | }); |
44 | 44 | } |
45 | 45 | |
@@ -65,14 +65,14 @@ discard block |
||
65 | 65 | public function boot() |
66 | 66 | { |
67 | 67 | if ($this->app->runningInConsole()) { |
68 | - $this->loadMigrationsFrom(__DIR__.'/../../database/migrations'); |
|
68 | + $this->loadMigrationsFrom(__DIR__ . '/../../database/migrations'); |
|
69 | 69 | |
70 | 70 | $this->publishes([ |
71 | - __DIR__.'/../../database/migrations' => /** @scrutinizer ignore-call */ database_path('migrations'), |
|
71 | + __DIR__ . '/../../database/migrations' => /** @scrutinizer ignore-call */ database_path('migrations'), |
|
72 | 72 | ], 'openvidu-migrations'); |
73 | 73 | |
74 | 74 | } |
75 | - Cache::extend('openvidu', function () { |
|
75 | + Cache::extend('openvidu', function() { |
|
76 | 76 | return Cache::repository(new SessionStore(DB::connection(), /** @scrutinizer ignore-call */ config('cache.stores.openvidu.table'))); |
77 | 77 | }); |
78 | 78 | } |