Skip to content

Commit fafec4e

Browse files
stevelaceypulkitjalan
authored andcommitted
Switch out singleton for bind #31 (#37)
1 parent dcb8665 commit fafec4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GoogleServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function register()
3434
{
3535
$this->mergeConfigFrom(__DIR__.'/config/config.php', 'google');
3636

37-
$this->app->singleton('PulkitJalan\Google\Client', function ($app) {
37+
$this->app->bind('PulkitJalan\Google\Client', function ($app) {
3838
return new Client($app['config']['google']);
3939
});
4040
}

0 commit comments

Comments
 (0)