src/Illuminate/Database/Query/Processors/SQLiteProcessor.php
Method processColumns
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function processColumns($results, $sql = '')
{
$hasPrimaryKey = array_sum(array_column($results, 'primary')) === 1;
return array_map(function ($result) use ($hasPrimaryKey, $sql) {