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

[11.x] Removed unnecessary call to setAccessible(true) #52691

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

xurshudyan
Copy link
Contributor

Laravel 11 requires a minimum PHP version of 8.2, the call to setAccessible(true) is no longer needed, as properties are accessible by default from PHP 8.1 onwards

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

@taylorotwell taylorotwell merged commit 5010f41 into laravel:11.x Sep 9, 2024
33 checks passed
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