@@ -19,12 +19,12 @@ discard block |
||
19 | 19 | */ |
20 | 20 | public function register() |
21 | 21 | { |
22 | - $this->app->singleton('record', function ($app) { |
|
22 | + $this->app->singleton('record', function($app) { |
|
23 | 23 | return new LogManager($app); |
24 | 24 | }); |
25 | 25 | |
26 | 26 | $this->mergeConfigFrom( |
27 | - __DIR__.'/../config/stethoscope.php', |
|
27 | + __DIR__ . '/../config/stethoscope.php', |
|
28 | 28 | 'stethoscope' |
29 | 29 | ); |
30 | 30 | |
@@ -41,12 +41,12 @@ discard block |
||
41 | 41 | if ($this->app->runningInConsole()) { |
42 | 42 | // publishing the config |
43 | 43 | $this->publishes([ |
44 | - __DIR__.'/../config/stethoscope.php' => config_path('stethoscope.php'), |
|
44 | + __DIR__ . '/../config/stethoscope.php' => config_path('stethoscope.php'), |
|
45 | 45 | ], 'stethoscope-publish-config'); |
46 | 46 | |
47 | 47 | // publishing the build files |
48 | 48 | $this->publishes([ |
49 | - __DIR__.'/../public/build' => public_path('vendor/stethoscope'), |
|
49 | + __DIR__ . '/../public/build' => public_path('vendor/stethoscope'), |
|
50 | 50 | ], 'stethoscope-publish-view'); |
51 | 51 | |
52 | 52 | $this->commands([ |
@@ -56,13 +56,13 @@ discard block |
||
56 | 56 | ]); |
57 | 57 | } |
58 | 58 | |
59 | - $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); |
|
59 | + $this->loadMigrationsFrom(__DIR__ . '/../database/migrations'); |
|
60 | 60 | |
61 | - $this->loadRoutesFrom(__DIR__.'/../routes/api.php'); |
|
62 | - $this->loadRoutesFrom(__DIR__.'/../routes/web.php'); |
|
61 | + $this->loadRoutesFrom(__DIR__ . '/../routes/api.php'); |
|
62 | + $this->loadRoutesFrom(__DIR__ . '/../routes/web.php'); |
|
63 | 63 | |
64 | - $this->loadViewsFrom(__DIR__.'/../resources/views', 'mohsenabrishami'); |
|
64 | + $this->loadViewsFrom(__DIR__ . '/../resources/views', 'mohsenabrishami'); |
|
65 | 65 | |
66 | - $this->app['router']->aliasMiddleware('check.access.to.monitoring.panel', CheckAccessToMonitoringPanel::class); |
|
66 | + $this->app[ 'router' ]->aliasMiddleware('check.access.to.monitoring.panel', CheckAccessToMonitoringPanel::class); |
|
67 | 67 | } |
68 | 68 | } |