Skip to content

[12.x] Make visibility consistent#56970

Merged
taylorotwell merged 1 commit into
laravel:12.xfrom
AhmedAlaa4611:ReplacesAttributes-visibility-consistent
Sep 8, 2025
Merged

[12.x] Make visibility consistent#56970
taylorotwell merged 1 commit into
laravel:12.xfrom
AhmedAlaa4611:ReplacesAttributes-visibility-consistent

Conversation

@AhmedAlaa4611

Copy link
Copy Markdown
Contributor

Description

In the ReplacesAttributes trait, all methods are declared as protected, except for only two methods, which are currently public.

These methods do not need to be public, since they are only intended for internal use by the validator. This PR changes them to protected to align with the visibility of the other methods and maintain consistency within the trait.

@taylorotwell taylorotwell merged commit 0756f68 into laravel:12.x Sep 8, 2025
65 checks passed
tegos pushed a commit to tegos/laravel-framework that referenced this pull request Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants