Skip to content

Commit

Permalink
Merge pull request #19 from rmunate/V-1.X
Browse files Browse the repository at this point in the history
Fixes Mixed Data
  • Loading branch information
rmunate authored Jul 7, 2023
2 parents ca62655 + 7754c28 commit d3cd061
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SQLServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ final public function insert(string $statement, array $params = []): bool
*
* @throws \Exception If there is an error executing the SQL query.
*
* @return bool|int Returns the ID of the last inserted row if the INSERT query was successful, false otherwise.
* @return mixed The last inserted ID.
*/
final public function insertGetId(string $statement, array $params = []): bool|int
final public function insertGetId(string $statement, array $params = [])
{
// Check if the query is not an INSERT query
if (!$this->isInsertQuery($statement)) {
Expand Down

0 comments on commit d3cd061

Please sign in to comment.