Skip to content

make second two arguments optional in mysqli_begin_transaction#331

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
MasterOdin:patch-1
Oct 3, 2020
Merged

make second two arguments optional in mysqli_begin_transaction#331
ondrejmirtes merged 1 commit intophpstan:masterfrom
MasterOdin:patch-1

Conversation

@MasterOdin
Copy link
Contributor

When using the procedural mysqli_begin_transaction function, the second two arguments are not marked as optional (contrary to the object oriented style and the docs).

demo: https://phpstan.org/r/c4459296-8924-4154-9e6f-e274c85271d4

Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
@ondrejmirtes ondrejmirtes merged commit 86be877 into phpstan:master Oct 3, 2020
@ondrejmirtes
Copy link
Member

Thank you!

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