Skip to content

Commit

Permalink
change back to singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandor Horvath committed Oct 1, 2020
1 parent 779d559 commit 9819c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FoxproDBServiceProvider.php
Expand Up @@ -35,7 +35,7 @@ public function register()
$this->mergeConfigFrom(__DIR__ . '/../config/foxprodb.php', 'foxprodb');

// Register the service the package provides.
$this->app->bind('foxprodb', function ($app) {
$this->app->singleton('foxprodb', function ($app) {
return new FoxproDB(config('foxprodb'));
});
}
Expand Down

0 comments on commit 9819c20

Please sign in to comment.