Skip to content

Commit

Permalink
Fix processColumnListing
Browse files Browse the repository at this point in the history
  • Loading branch information
bennettblack committed Nov 5, 2024
1 parent fe3c308 commit 2d8c227
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@
"require": {
"php": "^8.1",
"spatie/laravel-package-tools": "^1.13.0",
"illuminate/contracts": "^8|^9|^10|^11",
"illuminate/support": "^8|^9|^10|^11",
"illuminate/database": "^8|^9|^10|^11"
"illuminate/contracts": "^9|^10|^11",
"illuminate/support": "^9|^10|^11",
"illuminate/database": "^9.4|^10|^11"
},
"require-dev": {
"laravel/pint": "^1.0",
"nunomaduro/collision": "^6.0",
"orchestra/testbench": "^7.0",
"pestphp/pest": "^1.21",
Expand Down
14 changes: 13 additions & 1 deletion src/DB2Processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,16 @@ public function processInsertGetId(Builder $query, $sql, $values, $sequence = nu
return is_numeric($id) ? (int) $id : $id;
}
}
}

/**
* Process the results of a column listing query.
* This was present in Illuminate\Database\Query\Processor.php 9.x but later removed.
*
* @param array $results
* @return array
*/
public function processColumnListing($results)
{
return $results;
}
}

0 comments on commit 2d8c227

Please sign in to comment.