Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use "numeric-string" return type for methods that return integers as strings #5905

Merged
merged 1 commit into from
Feb 8, 2023

Conversation

phansys
Copy link
Contributor

@phansys phansys commented Feb 6, 2023

Q A
Type improvement
Fixed issues n/a

Summary

Follow up of #5879 (comment).

To-Do

@derrabus
Copy link
Member

derrabus commented Feb 6, 2023

Thank you. There are several methods on the wrapper-level Connection class that should also be updated.

src/Connection.php Outdated Show resolved Hide resolved
@phansys phansys force-pushed the pr_5879 branch 2 times, most recently from 2a3ee22 to f757fd4 Compare February 7, 2023 13:22
@phansys phansys changed the title Set "numeric-string" type for the @return annotation in Result::rowCount() Use "numeric-string" return type for methods that return integers as strings Feb 7, 2023
src/Driver/Connection.php Outdated Show resolved Hide resolved
src/Driver/Connection.php Outdated Show resolved Hide resolved
@derrabus
Copy link
Member

derrabus commented Feb 8, 2023

Can you silence the PHPStan error please? I think, the PR is good to go.

@phansys phansys force-pushed the pr_5879 branch 3 times, most recently from 1beedcc to 091f08f Compare February 8, 2023 11:22
@phansys phansys marked this pull request as ready for review February 8, 2023 11:35
@derrabus derrabus merged commit 5921ac0 into doctrine:4.0.x Feb 8, 2023
@derrabus
Copy link
Member

derrabus commented Feb 8, 2023

Thank you!

@phansys phansys deleted the pr_5879 branch February 8, 2023 11:48
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants