Skip to content

Commit

Permalink
[Messenger] fix Envelope::all() conditional return docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Nov 25, 2024
1 parent f9d4bae commit b200928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Envelope.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function last(string $stampFqcn): ?StampInterface
*
* @return StampInterface[]|StampInterface[][] The stamps for the specified FQCN, or all stamps by their class name
*
* @psalm-return ($stampFqcn is string : array<class-string<StampInterface>, list<StampInterface>> ? list<TStamp>)
* @psalm-return ($stampFqcn is null ? array<class-string<StampInterface>, list<StampInterface>> : list<TStamp>)
*/
public function all(?string $stampFqcn = null): array
{
Expand Down

0 comments on commit b200928

Please sign in to comment.