Skip to content

Missing param in arginfo_pdostatement_setfetchmode#3803

Closed
carusogabriel wants to merge 1 commit into
php:masterfrom
carusogabriel:patch-1
Closed

Missing param in arginfo_pdostatement_setfetchmode#3803
carusogabriel wants to merge 1 commit into
php:masterfrom
carusogabriel:patch-1

Conversation

@carusogabriel

Copy link
Copy Markdown
Contributor

Reopening #3114 as master now is PHP 8.0.

PDO::setFetchMode receives up to 3 params
@carusogabriel carusogabriel added this to the PHP 8.0 milestone Feb 8, 2019
@nikic

nikic commented Feb 8, 2019

Copy link
Copy Markdown
Member

Not sure on this one. It's an overloaded signature with different number of arguments depending on the first argument, we don't have a way to model that accurately.

@carusogabriel

Copy link
Copy Markdown
Contributor Author

@nikic Is okay to merge or your comment is still relevant? Indeed this function has some various formats at userland.

@nikic

nikic commented Feb 11, 2019

Copy link
Copy Markdown
Member

@carusogabriel It's okay to merge, I think. We have no way to make this signature full correct, but your version at least looks "more correct".

@carusogabriel

Copy link
Copy Markdown
Contributor Author

Merged via ad75511.

@carusogabriel carusogabriel deleted the patch-1 branch February 14, 2019 07:18
@carusogabriel carusogabriel removed this from the PHP 8.0 milestone Apr 25, 2020
@carusogabriel carusogabriel added this to the PHP 8.0 milestone May 29, 2020
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