diff --git a/src/Providers/LaravelKafkaServiceProvider.php b/src/Providers/LaravelKafkaServiceProvider.php index aecd809..bd5355c 100644 --- a/src/Providers/LaravelKafkaServiceProvider.php +++ b/src/Providers/LaravelKafkaServiceProvider.php @@ -32,7 +32,7 @@ public function boot(): void } } - public function register() + public function register(): void { $this->app->bind(MessageSerializer::class, fn () => new JsonSerializer()); @@ -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'),