Skip to content

Commit

Permalink
Merge pull request #52 from yateric/master
Browse files Browse the repository at this point in the history
Switch to bind to prevent decorator sharing
  • Loading branch information
Laracasts committed Dec 11, 2014
2 parents 2c97b9a + 1400504 commit db26726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Laracasts/Commander/CommanderServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected function registerCommandTranslator()
*/
protected function registerCommandBus()
{
$this->app->bindShared('Laracasts\Commander\CommandBus', function($app)
$this->app->bind('Laracasts\Commander\CommandBus', function($app)
{
return $app->make('Laracasts\Commander\DefaultCommandBus');
});
Expand Down

0 comments on commit db26726

Please sign in to comment.