Skip to content

Commit

Permalink
Fixed logger binding
Browse files Browse the repository at this point in the history
  • Loading branch information
Radiergummi committed May 14, 2024
1 parent d20a1f4 commit 2d09adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ElasticsearchServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ protected function registerClientFactory(): void
ClientFactory::class
);

$this->app->when(ClientFactory::class)
$this->app->when(ClientFactoryInterface::class)
->needs(LoggerInterface::class)
->give('elasticsearch.logger');

Expand Down

0 comments on commit 2d09adb

Please sign in to comment.