Skip to content

docs: fix PHPDoc types in Database Connection.#7433

Merged
kenjis merged 2 commits intocodeigniter4:developfrom
ping-yee:replace-mixed-db-connection
Apr 15, 2023
Merged

docs: fix PHPDoc types in Database Connection.#7433
kenjis merged 2 commits intocodeigniter4:developfrom
ping-yee:replace-mixed-db-connection

Conversation

@ping-yee
Copy link
Copy Markdown
Contributor

Description
See #6310

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

Comment thread system/Database/ConnectionInterface.php Outdated
Comment thread system/Database/BaseConnection.php
Comment thread system/Database/BaseConnection.php Outdated
Comment thread system/Database/ConnectionInterface.php Outdated
* queries if needed.
*
* @param mixed ...$binds
* @param array|string|null ...$binds
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems a bug.

Suggested change
* @param array|string|null ...$binds
* @param array|string|null $binds

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there anything need to be fixed besides removing ...?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, for now.

The difference of the parameter count may be a bug.

Comment thread system/Database/SQLSRV/Connection.php Outdated
Copy link
Copy Markdown
Member

@kenjis kenjis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@kenjis kenjis merged commit b38a949 into codeigniter4:develop Apr 15, 2023
@ping-yee ping-yee deleted the replace-mixed-db-connection branch April 25, 2023 07:30
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