Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a59ff05

Browse files
minor #58977 [Messenger] fix Envelope::all() conditional return docblock (kbond)
This PR was merged into the 6.4 branch. Discussion ---------- [Messenger] fix `Envelope::all()` conditional return docblock | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | n/a | License | MIT I think this was a typo in #47016. Commits ------- e1a5beb [Messenger] fix `Envelope::all()` conditional return docblock
2 parents 9c6b5d5 + e1a5beb commit a59ff05

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)