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

Fix doctrine attribute error #78

Merged
merged 1 commit into from
Feb 7, 2024
Merged

Fix doctrine attribute error #78

merged 1 commit into from
Feb 7, 2024

Conversation

JoppeDC
Copy link
Contributor

@JoppeDC JoppeDC commented Feb 7, 2024

mappedBy is by default the first parameter passed to the OneToMany attribute. Therefore, putting an unnamed parameter first causes issues.

Named parameter $mappedBy overwrites previous argument

Edit:
This only appears to be an issue in sub 3.0 versions. But this fix will also continue to work in 3.x

`mappedBy` is by default the first parameter passed to the `OneToMany` attribute. Therefore, putting an unnamed parameter first causes issues.

> Named parameter $mappedBy overwrites previous argument
@mamazu mamazu merged commit 3f0ed91 into Brille24:master Feb 7, 2024
0 of 4 checks passed
@mamazu
Copy link
Collaborator

mamazu commented Feb 7, 2024

Thanks.

@JoppeDC JoppeDC deleted the patch-1 branch February 7, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants