-
Notifications
You must be signed in to change notification settings - Fork 110
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
use PHP8's constructor property promotion #793
use PHP8's constructor property promotion #793
Conversation
Signed-off-by: Hamid Dehnavi <[email protected]>
Co-authored-by: binsky <[email protected]> Signed-off-by: Hamid Dehnavi <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the pr :)
@binsky08 The Scrutinizer shows a time-out warning, shall I do anything else? |
The problem isn't you :D |
Thanks for the pr! Code definitely looks better and now we don't need backwards compatibility with older php versions, so ❤️ |
All class fields, constructor definition, and variable assignments are updated using constructor property promotion