From b8c8e44c9931307c1677f91d5c17b20e8577aff3 Mon Sep 17 00:00:00 2001 From: Gaetan <72258504+gaetan-hexadog@users.noreply.github.com> Date: Thu, 29 Aug 2024 11:52:25 +0200 Subject: [PATCH] Update PackageServiceProvider.php chore: variable name --- src/PackageServiceProvider.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PackageServiceProvider.php b/src/PackageServiceProvider.php index 9ef77ae..3a71417 100644 --- a/src/PackageServiceProvider.php +++ b/src/PackageServiceProvider.php @@ -147,13 +147,13 @@ public function boot() $providersName = [$providersName]; } - $providers = []; + $publishableProviders = []; foreach ($providersName as $publishableProviderName) { - $providers[$this->package->basePath("/../resources/stubs/{$publishableProviderName}.php.stub")] = base_path("app/Providers/{$publishableProviderName}.php"); + $publishableProviders[$this->package->basePath("/../resources/stubs/{$publishableProviderName}.php.stub")] = base_path("app/Providers/{$publishableProviderName}.php"); } - $this->publishes($providers, "{$this->package->shortName()}-provider"); + $this->publishes($publishableProviders, "{$this->package->shortName()}-provider"); }