Skip to content

Commit

Permalink
Merge pull request #14 from bullenb/patch-1
Browse files Browse the repository at this point in the history
Fix setting host lost on client app binding
  • Loading branch information
freekmurze authored Jan 7, 2021
2 parents 1f214b8 + 973c764 commit 9aec890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RayServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected function registerBindings(): self
{
$settings = app(Settings::class);

$this->app->bind(Client::class, fn () => new Client($settings->port), $settings->host);
$this->app->bind(Client::class, fn () => new Client($settings->port, $settings->host));

$this->app->bind(Ray::class, function () {
$client = app(Client::class);
Expand Down

0 comments on commit 9aec890

Please sign in to comment.