Skip to content

Commit

Permalink
Add return types
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusjunges committed Aug 18, 2024
1 parent a14fea8 commit 5fa0f1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Providers/LaravelKafkaServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function boot(): void
}
}

public function register()
public function register(): void
{
$this->app->bind(MessageSerializer::class, fn () => new JsonSerializer());

Expand All @@ -47,7 +47,7 @@ public function register()
$this->app->singleton(LoggerContract::class, Logger::class);
}

private function publishesConfiguration()
private function publishesConfiguration(): void
{
$this->publishes([
__DIR__."/../../config/kafka.php" => config_path('kafka.php'),
Expand Down

0 comments on commit 5fa0f1b

Please sign in to comment.