From 5d6648547e6125907c88195a86f5368cb6324e28 Mon Sep 17 00:00:00 2001 From: Oskars Germovs Date: Fri, 18 Oct 2024 20:05:02 +0300 Subject: [PATCH] 1.) added: better names on publishing 2.) added: code format Signed-off-by: Oskars Germovs --- src/ReComposerServiceProvider.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/ReComposerServiceProvider.php b/src/ReComposerServiceProvider.php index 892d30d..a996539 100755 --- a/src/ReComposerServiceProvider.php +++ b/src/ReComposerServiceProvider.php @@ -46,13 +46,10 @@ public function provides(): array protected function bootForConsole(): void { // Publishing the configuration file. - $this->publishes( - [ - __DIR__ . '/../config/recomposer.php' => config_path( - 'recomposer.php' - ), - ], - 'config' + $this->publishes([ + __DIR__ . '/../config/recomposer.php' => config_path('recomposer.php'), + ], + 'recomposer.config' ); } }