File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed
stubs/Symfony/Component/Messenger Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ parameters:
2424 - stubs/Symfony/Component/HttpFoundation/HeaderBag.stub
2525 - stubs/Symfony/Component/HttpFoundation/ParameterBag.stub
2626 - stubs/Symfony/Component/HttpFoundation/Session.stub
27+ - stubs/Symfony/Component/Messenger/StampInterface.stub
28+ - stubs/Symfony/Component/Messenger/Envelope.stub
2729 - stubs/Symfony/Component/Process/Process.stub
2830 - stubs/Symfony/Component/PropertyAccess/PropertyPathInterface.stub
2931 - stubs/Symfony/Component/Security/Acl/Model/AclInterface.stub
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Symfony\Component\Messenger;
4+
5+ use Symfony\Component\Messenger\Stamp\StampInterface;
6+
7+ final class Envelope
8+ {
9+ /**
10+ * @template T of \Symfony\Component\Messenger\Stamp\StampInterface
11+ * @phpstan-param class-string<T> $stampFqcn
12+ * @phpstan-return T|null
13+ */
14+ public function last(string $stampFqcn): ?StampInterface
15+ {
16+ }
17+ }
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Symfony\Component\Messenger\Stamp;
4+
5+ interface StampInterface
6+ {
7+ }
You can’t perform that action at this time.
0 commit comments