-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Messenger] Added generic template for Envelope::last()
method
#44583
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
[Messenger] Added generic template for Envelope::last()
method
#44583
Conversation
Maybe someone can review?) |
Let's target 6.1 please. |
Can you please rebase onto 6.1? I think Psalm is confused by the 5.4 compat layer that should be gone on the 6.1 branch. |
Done |
Okay, that didn't help. But nevermind, I think we can ignore the Psalm error as a false positive. Psalm apparently does not fully understand the stamps array and I think that's okay. |
Yep, I think this is false positive. |
Thank you @fractalzombie. |
Can we get a backport on this to 5.4? |
Added possibility to PHPStorm generic support for Envelope::last method, no need more
/** @var SomeStampClass */