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

SQLParserUtils triggered an error when feeding it Type instances instead of PDO param type ints #120

Merged
merged 2 commits into from
Mar 24, 2012

Conversation

maikg
Copy link
Contributor

@maikg maikg commented Feb 26, 2012

Title says it all. If-statement failed when trying to convert \Doctrine\DBAL\Type\Type instances to an int for comparison.

@stof
Copy link
Member

stof commented Feb 26, 2012

why should it try to convert it to an int ? a strict check does not do conversions

@maikg
Copy link
Contributor Author

maikg commented Feb 26, 2012

Right, my mistake. Looks like the second comparison on the same line was NOT an equality comparison. Should be fixed now.

beberlei added a commit that referenced this pull request Mar 24, 2012
SQLParserUtils triggered an error when feeding it Type instances instead of PDO param type ints
@beberlei beberlei merged commit faafbf1 into doctrine:master Mar 24, 2012
@beberlei
Copy link
Member

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants