src/Illuminate/Bus/BusServiceProvider.php
Method registerBatchServices
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function registerBatchServices()
{
$this->app->singleton(BatchRepository::class, function ($app) {
$driver = $app->config->get('queue.batching.driver', 'database');