@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | |
| 102 | 102 | public function boot() |
| 103 | 103 | { |
| 104 | - $this->app->make(Factory::class)->load(__DIR__ . '/../database/factories'); |
|
| 104 | + $this->app->make(Factory::class)->load(__DIR__.'/../database/factories'); |
|
| 105 | 105 | $this->setupRouteModelBinding(); |
| 106 | 106 | $this->setupRoutes(); |
| 107 | 107 | } |
@@ -111,10 +111,10 @@ discard block |
||
| 111 | 111 | */ |
| 112 | 112 | protected function registerConfig() |
| 113 | 113 | { |
| 114 | - $this->publishes([__DIR__ .'/../config/control.php' => config_path('control.php'), |
|
| 114 | + $this->publishes([__DIR__.'/../config/control.php' => config_path('control.php'), |
|
| 115 | 115 | ], 'config'); |
| 116 | 116 | $this->mergeConfigFrom( |
| 117 | - __DIR__ .'/../config/control.php', 'control' |
|
| 117 | + __DIR__.'/../config/control.php', 'control' |
|
| 118 | 118 | ); |
| 119 | 119 | } |
| 120 | 120 | |
@@ -126,13 +126,13 @@ discard block |
||
| 126 | 126 | public function registerFactories() |
| 127 | 127 | { |
| 128 | 128 | if (!app()->environment('production')) { |
| 129 | - $this->app->make(Factory::class)->load(__DIR__ .'/../database/factories'); |
|
| 129 | + $this->app->make(Factory::class)->load(__DIR__.'/../database/factories'); |
|
| 130 | 130 | } |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | public function registerMigrations() |
| 134 | 134 | { |
| 135 | - $this->loadMigrationsFrom(__DIR__ . '/../database/migrations'); |
|
| 135 | + $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); |
|
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | public function bindContracts() |
@@ -256,7 +256,7 @@ discard block |
||
| 256 | 256 | Route::prefix(config('control.api_prefix')) |
| 257 | 257 | ->middleware(config('control.api_middleware')) |
| 258 | 258 | ->namespace('BristolSU\ControlDB\Http\Controllers') |
| 259 | - ->group(__DIR__ . '/../routes/api.php'); |
|
| 259 | + ->group(__DIR__.'/../routes/api.php'); |
|
| 260 | 260 | } |
| 261 | 261 | |
| 262 | 262 | |