File tree 3 files changed +26
-0
lines changed
stubs/Symfony/Component/Messenger
3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ parameters:
24
24
- stubs/Symfony/Component/HttpFoundation/HeaderBag.stub
25
25
- stubs/Symfony/Component/HttpFoundation/ParameterBag.stub
26
26
- stubs/Symfony/Component/HttpFoundation/Session.stub
27
+ - stubs/Symfony/Component/Messenger/StampInterface.stub
28
+ - stubs/Symfony/Component/Messenger/Envelope.stub
27
29
- stubs/Symfony/Component/Process/Process.stub
28
30
- stubs/Symfony/Component/PropertyAccess/PropertyPathInterface.stub
29
31
- 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