Skip to content

Commit 7210072

Browse files
enumagondrejmirtes
authored andcommitted
Improve Envelope::all() return type
1 parent e5e807b commit 7210072

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

stubs/Symfony/Component/Messenger/Envelope.stub

+7
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,11 @@ final class Envelope
1414
public function last(string $stampFqcn): ?StampInterface
1515
{
1616
}
17+
18+
/**
19+
* @return ($stampFqcn is null ? array<string, list<StampInterface>> : list<StampInterface>)
20+
*/
21+
public function all(?string $stampFqcn = null): array
22+
{
23+
}
1724
}

0 commit comments

Comments
 (0)