@@ -9,45 +9,19 @@ class ChangelogServiceProvider extends ServiceProvider
99 /**
1010 * Bootstrap the application services.
1111 */
12- public function boot ()
12+ public function boot (): void
1313 {
14- /*
15- * Optional methods to load your package assets
16- */
17- // $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'changelog');
18- // $this->loadViewsFrom(__DIR__.'/../resources/views', 'changelog');
19- // $this->loadMigrationsFrom(__DIR__.'/../database/migrations');
20- // $this->loadRoutesFrom(__DIR__.'/routes.php');
21-
2214 if ($ this ->app ->runningInConsole ()) {
2315 $ this ->publishes ([
2416 __DIR__ .'/../config/changelog.php ' => config_path ('changelog.php ' ),
2517 ], 'config ' );
26-
27- // Publishing the views.
28- /*$this->publishes([
29- __DIR__.'/../resources/views' => resource_path('views/vendor/changelog'),
30- ], 'views');*/
31-
32- // Publishing assets.
33- /*$this->publishes([
34- __DIR__.'/../resources/assets' => public_path('vendor/changelog'),
35- ], 'assets');*/
36-
37- // Publishing the translation files.
38- /*$this->publishes([
39- __DIR__.'/../resources/lang' => resource_path('lang/vendor/changelog'),
40- ], 'lang');*/
41-
42- // Registering package commands.
43- // $this->commands([]);
4418 }
4519 }
4620
4721 /**
4822 * Register the application services.
4923 */
50- public function register ()
24+ public function register (): void
5125 {
5226 // Automatically apply the package configuration
5327 $ this ->mergeConfigFrom (__DIR__ .'/../config/changelog.php ' , 'changelog ' );
0 commit comments