Skip to content

Commit

Permalink
Merge pull request #18 from morrislaptop/patch-1
Browse files Browse the repository at this point in the history
Resolve Guzzle from the container
  • Loading branch information
benwilkins authored Sep 17, 2018
2 parents f543d83 + 8282835 commit 7e25a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FcmNotificationServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function register()
{
$app = $this->app;
$this->app->make(ChannelManager::class)->extend('fcm', function () use ($app) {
return new FcmChannel(new Client(), config('services.fcm.key'));
return new FcmChannel(resolve(Client::class), config('services.fcm.key'));
});
}
}

0 comments on commit 7e25a42

Please sign in to comment.