minor #44583 [Messenger] Added generic template for `Envelope::last()` method (fractalzombie)
minor #44583 [Messenger] Added generic template for `Envelope::last()` method (fractalzombie)

This PR was merged into the 6.1 branch.

Discussion
----------

[Messenger] Added generic template for `Envelope::last()` method

| Q             | A
| ------------- | ---
| Branch?       | 6.1
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| License       | MIT

Added possibility to PHPStorm generic support for Envelope::last method, no need more `/** `@var` SomeStampClass */`

Commits
-------

bbdc403c19 [Messenger] Added generic template for `Envelope::last()` method

ro0NL/symfony,ogizanagi/symfony,tucksaun/symfony,ro0NL/symfony,stof/symfony,damienalexandre/symfony,derrabus/symfony,symfony/symfony,derrabus/symfony,derrabus/symfony,d-ph/symfony,HeahDude/symfony,tucksaun/symfony,HeahDude/symfony,phramz/symfony,symfony/symfony,tucksaun/symfony,curry684/symfony,stof/symfony,Tobion/symfony,mpdude/symfony,Tobion/symfony,damienalexandre/symfony,tucksaun/symfony,Tobion/symfony,nicolas-grekas/symfony,xabbuh/symfony,xabbuh/symfony,nicolas-grekas/symfony,stof/symfony,Tobion/symfony,phramz/symfony,d-ph/symfony,xabbuh/symfony,stof/symfony,mpdude/symfony,paradajozsef/symfony,curry684/symfony,ogizanagi/symfony,d-ph/symfony,damienalexandre/symfony,ro0NL/symfony,nicolas-grekas/symfony,paradajozsef/symfony,symfony/symfony,hhamon/symfony,ro0NL/symfony,phramz/symfony,phramz/symfony,damienalexandre/symfony,HeahDude/symfony,HeahDude/symfony,nicolas-grekas/symfony,hhamon/symfony,curry684/symfony,symfony/symfony,ogizanagi/symfony,mpdude/symfony,derrabus/symfony,hhamon/symfony,paradajozsef/symfony,hhamon/symfony,curry684/symfony,xabbuh/symfony,ogizanagi/symfony,paradajozsef/symfony,d-ph/symfony,mpdude/symfony