laravel/framework

View on GitHub
src/Illuminate/Bus/BusServiceProvider.php

Summary

Maintainability
A
1 hr
Test Coverage

Method registerBatchServices has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function registerBatchServices()
    {
        $this->app->singleton(BatchRepository::class, function ($app) {
            $driver = $app->config->get('queue.batching.driver', 'database');

Severity: Minor
Found in src/Illuminate/Bus/BusServiceProvider.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status