Skip to content

Commit

Permalink
Laravel 5.1 fix
Browse files Browse the repository at this point in the history
Switch deprecated "bindShared" with "singleton".
  • Loading branch information
curricula committed Jul 27, 2015
1 parent 7b6eec1 commit c65d6cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entrust/EntrustServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private function registerEntrust()
*/
private function registerCommands()
{
$this->app->bindShared('command.entrust.migration', function ($app) {
$this->app->singleton('command.entrust.migration', function ($app) {
return new MigrationCommand();
});
}
Expand Down

0 comments on commit c65d6cc

Please sign in to comment.