Skip to content

Commit ed68389

Browse files
committed
Fix
2 parents 0aa39b1 + d67f86b commit ed68389

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Laracasts/Commander/CommanderServiceProvider.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ protected function registerCommandTranslator()
4949
*/
5050
protected function registerCommandBus()
5151
{
52-
$this->app->bindShared('Laracasts\Commander\CommandBus', 'Laracasts\Commander\DefaultCommandBus');
52+
$this->app->bindShared('Laracasts\Commander\CommandBus', function($app)
53+
{
54+
return $app->make('Laracasts\Commander\DefaultCommandBus');
55+
});
5356
}
5457

5558
/**

0 commit comments

Comments
 (0)