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

Make the ParentAccessTrait::hasAccessToParent() method private #7005

Merged
merged 1 commit into from Mar 12, 2024

Conversation

aschempp
Copy link
Member

SInce the method is ever only used by the voter including the trait, it should never have been protected.

@aschempp aschempp added the bug label Mar 12, 2024
@aschempp aschempp added this to the 5.3 milestone Mar 12, 2024
@aschempp aschempp requested a review from a team March 12, 2024 09:01
@aschempp aschempp self-assigned this Mar 12, 2024
@leofeyer leofeyer changed the title Make the trait method private instead of protected Make the ParentAccessTrait::hasAccessToParent() method private Mar 12, 2024
@leofeyer leofeyer merged commit e1a041e into contao:5.3 Mar 12, 2024
18 checks passed
@leofeyer
Copy link
Member

Thank you @aschempp.

@aschempp aschempp deleted the fix/parent-access branch March 12, 2024 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants