Skip to content

Commit

Permalink
Update PackageServiceProvider.php
Browse files Browse the repository at this point in the history
chore: variable name
  • Loading branch information
gaetan-hexadog authored Aug 29, 2024
1 parent d070f81 commit b8c8e44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/PackageServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}


Expand Down

0 comments on commit b8c8e44

Please sign in to comment.