-
Notifications
You must be signed in to change notification settings - Fork 645
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
Enable Rector php 8.0 set #16711
base: 5.x
Are you sure you want to change the base?
Enable Rector php 8.0 set #16711
Conversation
d262f20
to
ac0eb0a
Compare
Ready to merge 👍 |
ac0eb0a
to
4f79c7a
Compare
@brandonkelly Ready to merge 👍 |
9580421
to
cadbf1b
Compare
@brandonkelly Ready to merge 👍 |
@brandonkelly Ready to merge 👍 |
@brandonkelly Ready to merge 👍 |
/** | ||
* Constructor | ||
* | ||
* @param ElementQuery $elementQuery | ||
* @param array $config | ||
*/ | ||
public function __construct(ElementQuery $elementQuery, array $config = []) | ||
public function __construct(public ?ElementQuery $elementQuery, array $config = []) |
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.
This changes the signature. null
was previously not allowed to be passed to $elementQuery
.
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.
The promotion property is based on property type, so you choose: to have nullable or non-nullable property?
Description
Applied changes:
Related issues