Skip to content

[CLEANUP] Rector: Add return type to function like with return new #591

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 2 commits into from
Jun 19, 2024

Conversation

ziegenberg
Copy link
Contributor

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

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.

Love it! Only one PHPDoc annotation to remove.

@ziegenberg ziegenberg force-pushed the add-type-coverage-level-12 branch from 6e6b84f to 75f8e3b Compare June 19, 2024 22:01
@oliverklee oliverklee merged commit 1b4dc29 into MyIntervals:main Jun 19, 2024
18 checks passed
@ziegenberg ziegenberg deleted the add-type-coverage-level-12 branch June 19, 2024 22:11
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