Skip to content

Commit

Permalink
fix ServiceProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
edbizarro committed Jan 25, 2019
1 parent a6a834f commit 237ba8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Providers/LaravelFacebookServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ public function register()
'facebook-ads'
);

$this->app->bind(LaravelFacebookAdsContract::class, function ($app) {
$this->app->bind(LaravelFacebookAdsContract::class, function () {
return $this->createInstance();
});

$this->app->singleton('facebook-ads', function ($app) {
$this->app->singleton('facebook-ads', function () {
return $this->createInstance();
});
}
Expand All @@ -46,7 +46,7 @@ protected function registerPublishing(): void
{
if ($this->isLumen() === false) {
$this->publishes([
$configPath => config_path('facebook-ads.php')
__DIR__.'/../../config/facebook-ads.php' => config_path('facebook-ads.php')
], 'facebook-ads');
}

Expand Down

0 comments on commit 237ba8e

Please sign in to comment.