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

change signature method add/remove repository #1087

Merged
merged 2 commits into from
Apr 23, 2022
Merged

Conversation

JB-oclock
Copy link
Contributor

fixes #1086
If the idea in the issue is validated, PR is ready 😃

{
$this->_em->persist($entity);
if ($flush) {
if (!$flush) {
Copy link

Choose a reason for hiding this comment

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

if (no flush requested) then
    flush transaction

Something is wrong there?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

doing things at 2AM is not a good idea 🤦

Copy link
Collaborator

@jrushlow jrushlow 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 @JB-oclock

@jrushlow jrushlow added the Status: Reviewed Has been reviewed by a maintainer label Apr 23, 2022
@jrushlow jrushlow merged commit 0743d5b into symfony:main Apr 23, 2022
@jrushlow jrushlow mentioned this pull request May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug Fix Status: Reviewed Has been reviewed by a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make:entity repository add/remove method signature
3 participants