Skip to content

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

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

Closed

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

@oliverklee
Copy link
Collaborator

I have created #608 to add native return types to parse(). Maybe we can get that in first.

@ziegenberg ziegenberg closed this Jun 24, 2024
@ziegenberg ziegenberg force-pushed the add-type-coverage-level-27 branch from b00f138 to 1908a05 Compare June 24, 2024 12:32
@ziegenberg ziegenberg deleted the add-type-coverage-level-27 branch June 24, 2024 12:32
@ziegenberg
Copy link
Contributor Author

I rebased and it closed on itself.

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.

2 participants