Skip to content

Commit e1a5beb

Browse files
committed
[Messenger] fix Envelope::all() conditional return docblock
1 parent 992a6a0 commit e1a5beb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Messenger/Envelope.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function last(string $stampFqcn): ?StampInterface
112112
*
113113
* @return StampInterface[]|StampInterface[][] The stamps for the specified FQCN, or all stamps by their class name
114114
*
115-
* @psalm-return ($stampFqcn is string : array<class-string<StampInterface>, list<StampInterface>> ? list<TStamp>)
115+
* @psalm-return ($stampFqcn is null ? array<class-string<StampInterface>, list<StampInterface>> : list<TStamp>)
116116
*/
117117
public function all(?string $stampFqcn = null): array
118118
{

0 commit comments

Comments
 (0)