Skip to content

Commit

Permalink
added return types
Browse files Browse the repository at this point in the history
  • Loading branch information
dcblogdev committed Jan 26, 2024
1 parent 1eda19d commit 83f7cd5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/ModuleGeneratorServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@

class ModuleGeneratorServiceProvider extends ServiceProvider
{
public function register()
public function register(): void
{
$this->mergeConfigFrom(__DIR__.'/../config/module-generator.php', 'module-generator');
}

public function boot()
public function boot(): void
{
$this->configureCommands();
$this->configurePublishing();
}

public function configureCommands()
public function configureCommands(): void
{
if (! $this->app->runningInConsole()) {
return;
Expand All @@ -29,7 +29,7 @@ public function configureCommands()
]);
}

public function configurePublishing()
public function configurePublishing(): void
{
if (! $this->app->runningInConsole()) {
return;
Expand All @@ -42,6 +42,5 @@ public function configurePublishing()
$this->publishes([
__DIR__.'/../config/module-generator.php' => config_path('module-generator.php'),
], 'config');

}
}

0 comments on commit 83f7cd5

Please sign in to comment.