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

Removed unnecessary call to $property->setAccessible(true); #8273

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

xurshudyan
Copy link
Contributor

Livewire 3 requires a minimum PHP version of 8.1, 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

@calebporzio
Copy link
Collaborator

Sweet, thanks @xurshudyan - and thanks for confirming @PerryvanderMeer

@calebporzio calebporzio merged commit 713ced1 into livewire:main Apr 8, 2024
5 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.

None yet

3 participants