@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | { |
27 | 27 | $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); |
28 | 28 | |
29 | - $this->publishes([__DIR__ .'/../config/privileges.php' => config_path('privileges.php')], 'config'); |
|
29 | + $this->publishes([__DIR__.'/../config/privileges.php' => config_path('privileges.php')], 'config'); |
|
30 | 30 | |
31 | 31 | $this->publishes([__DIR__.'/../database/migrations/' => database_path('migrations')], 'migrations'); |
32 | 32 | } |
@@ -38,16 +38,16 @@ discard block |
||
38 | 38 | */ |
39 | 39 | public function register() |
40 | 40 | { |
41 | - $this->mergeConfigFrom(__DIR__ .'/../config/privileges.php', 'privileges'); |
|
41 | + $this->mergeConfigFrom(__DIR__.'/../config/privileges.php', 'privileges'); |
|
42 | 42 | |
43 | - $this->app->singleton('mrluke-privileges-detector', function ($app) { |
|
43 | + $this->app->singleton('mrluke-privileges-detector', function($app) { |
|
44 | 44 | |
45 | 45 | $manager = $app->make('mrluke-privileges-manager'); |
46 | 46 | |
47 | 47 | return new \Mrluke\Privileges\Detector($manager); |
48 | 48 | }); |
49 | 49 | |
50 | - $this->app->singleton('mrluke-privileges-manager', function ($app) { |
|
50 | + $this->app->singleton('mrluke-privileges-manager', function($app) { |
|
51 | 51 | |
52 | 52 | $schema = \Mrluke\Configuration\Schema::createFromFile( |
53 | 53 | __DIR__.'/../config/schema.json', |