Skip to content

[ibm_db2] Update param and return type for db2_autocommit()#2300

Closed
phansys wants to merge 1 commit intophp:masterfrom
phansys:db2_autocommit
Closed

[ibm_db2] Update param and return type for db2_autocommit()#2300
phansys wants to merge 1 commit intophp:masterfrom
phansys:db2_autocommit

Conversation

@phansys
Copy link
Copy Markdown
Contributor

@phansys phansys commented Feb 15, 2023

Prior to version ibm_db2 2.1, the db2_autocommit() function was expecting a boolean as argument 2.

See:

Additionally, the return type of this function can be int|bool depending on the received arguments, so mixed was narrowed to int|bool.

@Girgias
Copy link
Copy Markdown
Member

Girgias commented Feb 20, 2023

Closing in favour of #2316

@Girgias Girgias closed this Feb 20, 2023
@phansys phansys deleted the db2_autocommit branch February 24, 2023 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants