From 5fa0f1ba061ad9ad50ac36e5708ec6dd4a216e0d Mon Sep 17 00:00:00 2001 From: Mateus Junges Date: Sat, 17 Aug 2024 22:20:37 -0300 Subject: [PATCH] Add return types --- src/Providers/LaravelKafkaServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'),