Skip to content

[CLEANUP] Rector: Change return type based on strict scalar returns -… #589

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
Jun 19, 2024

Conversation

ziegenberg
Copy link
Contributor

… string, int, float or bool

This applies the rule ReturnTypeFromStrictScalarReturnExprRector. For Details see:
https://github.com/rectorphp/rector/blob/main/docs/rector_rules_overview.md#returntypefromstrictscalarreturnexprrector

… string, int, float or bool

This applies the rule ReturnTypeFromStrictScalarReturnExprRector. For
Details see:
https://github.com/rectorphp/rector/blob/main/docs/rector_rules_overview.md#returntypefromstrictscalarreturnexprrector

Signed-off-by: Daniel Ziegenberg <[email protected]>
Copy link
Collaborator

@oliverklee oliverklee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@oliverklee oliverklee merged commit e299f80 into MyIntervals:main Jun 19, 2024
18 checks passed
@ziegenberg ziegenberg deleted the add-type-coverage-level-10 branch June 19, 2024 13:12
ziegenberg added a commit to ziegenberg/PHP-CSS-Parser that referenced this pull request Jun 21, 2024
… string, int, float or bool (MyIntervals#589)

This applies the rule ReturnTypeFromStrictScalarReturnExprRector. For
Details see:
https://github.com/rectorphp/rector/blob/main/docs/rector_rules_overview.md#returntypefromstrictscalarreturnexprrector

Signed-off-by: Daniel Ziegenberg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants