Skip to content

Conversation

@spaze
Copy link
Contributor

@spaze spaze commented Jun 10, 2022

  • bug fix / new feature? no / not really
  • BC break? no

Adds @return never to Component::redirect() and Component::redirectPermanent(), useful for static analysis and required when any method using either of those wants to use never as its return type declaration (function foo(): never).

Presenter::redirectUrl() already uses it, this PR "propagates" it further.

Thank you!

@dg
Copy link
Member

dg commented Jun 15, 2022

Thanks

@spaze
Copy link
Contributor Author

spaze commented Jan 17, 2023

Hi @dg, do you have a plan when this will be released? Thanks!

@dg
Copy link
Member

dg commented Jan 17, 2023

It is in v3.1.4

@spaze
Copy link
Contributor Author

spaze commented Jan 17, 2023

3.1.4 was released before this PR was authored, maybe you mean #291 but that's a different PR. This one wasn't released yet.

@dg
Copy link
Member

dg commented Jan 17, 2023

You're right, I guess I lost this commit. I'll release it in the next patch version.

dg pushed a commit that referenced this pull request Jan 17, 2023
@spaze
Copy link
Contributor Author

spaze commented Jan 17, 2023

Happens :-) Thank you!

dg pushed a commit that referenced this pull request Jan 17, 2023
dg pushed a commit that referenced this pull request Jan 17, 2023
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