We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef3e7a1 + 5bb7e9b commit 72819f6Copy full SHA for 72819f6
src/AsyncServiceProvider.php
@@ -22,8 +22,9 @@ class AsyncServiceProvider extends ServiceProvider
22
*/
23
public function boot()
24
{
25
- $manager = $this->app['queue'];
26
- $this->registerAsyncConnector($manager);
+ $this->registerAsyncConnector($this->app['queue']);
+
27
+ $this->commands('command.queue.async');
28
}
29
30
/**
@@ -48,8 +49,6 @@ protected function registerAsyncCommand($app)
48
49
$app['command.queue.async'] = $app->share(function ($app) {
50
return new AsyncCommand();
51
});
-
52
- $this->commands('command.queue.async');
53
54
55
0 commit comments