Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove unreachable piece of code#10704

Merged
greg0ire merged 1 commit into
doctrine:2.16.xfrom
greg0ire:drop-useless-block
May 16, 2023
Merged

Remove unreachable piece of code#10704
greg0ire merged 1 commit into
doctrine:2.16.xfrom
greg0ire:drop-useless-block

Conversation

@greg0ire
Copy link
Copy Markdown
Member

mappedBy is never defined on an inverse relationship.
Bi-directional self-referencing should IMO still result in 2 separate
associations, on 2 separate fields of the same class, like mentor or
mentee.

mappedBy is never defined on an inverse relationship.
Bi-directional self-referencing should IMO still result in 2 separate
associations, on 2 separate fields of the same class, like mentor or
mentee.
Copy link
Copy Markdown
Contributor

@mpdude mpdude left a comment

Choose a reason for hiding this comment

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

Plausible

Copy link
Copy Markdown
Member

@SenseException SenseException left a comment

Choose a reason for hiding this comment

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

No test seems to fail.

@greg0ire greg0ire merged commit 4e137f7 into doctrine:2.16.x May 16, 2023
@greg0ire greg0ire deleted the drop-useless-block branch May 16, 2023 06:19
@greg0ire greg0ire added this to the 2.16.0 milestone May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants