Skip to content
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

Remove return type in case of void in RemoveUselessReturnTagRector #5318

Merged
merged 2 commits into from Dec 3, 2023

Conversation

TomasVotruba
Copy link
Member

No description provided.

@TomasVotruba TomasVotruba enabled auto-merge (squash) December 3, 2023 18:56
@TomasVotruba TomasVotruba merged commit 026398c into main Dec 3, 2023
41 checks passed
@TomasVotruba TomasVotruba deleted the tv-skip-return-and-void branch December 3, 2023 19:08
class SomethingAndVoid
{
/**
* @return stdClass
Copy link
Member

Choose a reason for hiding this comment

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

I think @return never should be skipped, it can be usefull for php < 8.1 before updating to never type via ReturnNeverTypeRector

Copy link
Member Author

Choose a reason for hiding this comment

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

Makes sense 👍

Could you the fixture and cover it? I've moved to instanceof bug now

Copy link
Member

Choose a reason for hiding this comment

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

I will try

Copy link
Member

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants