Skip to content

Commit

Permalink
Fix bindShared() error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Vincent committed Feb 8, 2016
1 parent 347a284 commit 8db744c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Rateable/RateableServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class RateableServiceProvider extends ServiceProvider
public function boot()
{
$this->commands('command.rateable.migration');
$this->app->bindShared('command.rateable.migration', function ($app) {
$this->app->bind('command.rateable.migration', function ($app) {
return new MigrationCommand();
});
}, TRUE);
}

/**
Expand Down

0 comments on commit 8db744c

Please sign in to comment.