Skip to content

Commit

Permalink
Merge pull request #29 from khamdullaevuz/patch-3
Browse files Browse the repository at this point in the history
Create queues bug fix
  • Loading branch information
sobirjonovs authored Aug 10, 2024
2 parents e91e054 + 8a8a91d commit c932cd2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/stubs/RabbitServiceProvider.stub
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ class RabbitServiceProvider extends ServiceProvider
/**
* @return void
*/
public function register()
public function register(): void
{
$this->app->singleton(Client::class, function () {
return (new Client())->init();
});
}
}

0 comments on commit c932cd2

Please sign in to comment.