Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit dc74ea6

Browse files
author
Mateusz Gostański
committed
Changed from singleton to normal binding in ServiceProvider
1 parent 56684a0 commit dc74ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiClientServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function register()
2121
$this->mergeConfigFrom(__DIR__.'/../config/config.php', 'api-client');
2222

2323
// Register the main class to use with the facade
24-
$this->app->singleton('api-client', function () {
24+
$this->app->bind('api-client', function () {
2525
return new ApiClient;
2626
});
2727
}

0 commit comments

Comments
 (0)