laravel/framework

View on GitHub
src/Illuminate/Database/Query/Processors/SQLiteProcessor.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function processColumns($results, $sql = '')
    {
        $hasPrimaryKey = array_sum(array_column($results, 'primary')) === 1;

        return array_map(function ($result) use ($hasPrimaryKey, $sql) {
Severity: Minor
Found in src/Illuminate/Database/Query/Processors/SQLiteProcessor.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status