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

Remove incomplete details of QueryBuilder::setParameter($type) #4543

Merged
merged 1 commit into from
Mar 16, 2021

Conversation

andrew-demb
Copy link
Contributor

@andrew-demb andrew-demb commented Mar 11, 2021

Q A
Type improvement
BC Break no
Fixed issues

Summary

The argument description doesn't mention a more flexible way to configure binding parameter type - use a constant from Doctrine\DBAL\Types\Types.

PR proposes to mention this way of type configuration
UPD: instead of mention all ways to configure parameter type, the description updated to the short form, which is consistent with a codebase

src/Query/QueryBuilder.php Outdated Show resolved Hide resolved
@morozov morozov changed the title Propose to user use a one of Types constants for QueryBuilder::setParameter() Remove incomplete details of QueryBuilder::setParameter($type) Mar 14, 2021
@morozov
Copy link
Member

morozov commented Mar 14, 2021

@andrew-demb please squash and update the commit message (see the updated PR title). Also, please retarget against the oldest supported version where this is applicable.

@andrew-demb andrew-demb changed the base branch from 3.1.x to 2.12.x March 16, 2021 08:26
@andrew-demb
Copy link
Contributor Author

@morozov Done. Thank you for your suggestions.

@morozov morozov added this to the 2.12.2 milestone Mar 16, 2021
@morozov morozov merged commit c85d9d5 into doctrine:2.12.x Mar 16, 2021
@morozov
Copy link
Member

morozov commented Mar 16, 2021

Thanks, @andrew-demb.

@andrew-demb andrew-demb deleted the patch-1 branch March 16, 2021 21:27
@morozov morozov modified the milestones: 2.12.2, 2.13.0 Apr 8, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 23, 2022
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.

2 participants