Skip to content

[12.x] removed usage of useless ReflectionProperty::setAccessible() #56379

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

Merged
merged 1 commit into from
Jul 22, 2025

Conversation

NickSdot
Copy link
Contributor

As of PHP 8.1.0, calling this method has no effect; all properties are accessible by default. L12 requires PHP 8.2+.

https://www.php.net/manual/en/reflectionproperty.setaccessible.php

As of PHP 8.1.0, calling this method has no effect; all properties are accessible by default. L12 requires PHP 8.2+.

https://www.php.net/manual/en/reflectionproperty.setaccessible.php
@taylorotwell taylorotwell merged commit 9a8c66a into laravel:12.x Jul 22, 2025
62 checks passed
@NickSdot NickSdot deleted the patch-1 branch July 22, 2025 19:51
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