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

DDC-3995: [GH-1554] Fix a documentation error in the EntityManagerInterface#transactional() return value #4856

Closed
doctrinebot opened this issue Nov 12, 2015 · 3 comments
Assignees
Milestone

Comments

@doctrinebot
Copy link

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of tai2:

Url: #1554

Message:

This is a fix for #1462

By the documentation

For historical reasons, EntityManager#transactional($func) will return false whenever the return value of $func is loosely false. Some examples of this include array(), "0", "", 0, and null.

No! It's ``true'' !
Returning false whenever a user function returns false is jus a natural behaviour, isn't it?

@doctrinebot
Copy link
Author

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1554] was assigned:
#1554

@doctrinebot
Copy link
Author

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1554] was merged:
#1554

@doctrinebot
Copy link
Author

Issue was closed with resolution "Fixed"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants